avoid crash on Olympus E-1
This commit is contained in:
parent
84572dda09
commit
fa2cc0c080
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user