avoid crash on Olympus E-1

This commit is contained in:
jacekpoplawski 2010-06-19 10:07:43 -06:00
parent 84572dda09
commit fa2cc0c080

View File

@ -583,7 +583,9 @@ Tag::Tag (TagDirectory* p, FILE* f, int base)
}else if(type==UNDEFINED){ }else if(type==UNDEFINED){
count = 1; count = 1;
type = LONG; type = LONG;
directory = new TagDirectory*[2];
directory[0] = new TagDirectory (parent, f, base, attrib->subdirAttribs, getOrder()); directory[0] = new TagDirectory (parent, f, base, attrib->subdirAttribs, getOrder());
directory[1] = NULL;
}else }else
goto defsubdirs; goto defsubdirs;
} }