Skip to content

Commit

Permalink
refs #51: Fix access violation
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Dec 27, 2024
1 parent 20878d1 commit 2b2e5dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ExternData/Resources/C-Sources/ED_XLSXFile.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ void* ED_createXLSX(const char* fileName, int verbose, int detectMissingData)
}

XmlNode_deleteTree(root);
parseXML(xlsx->zfile, STR_XML, &xlsx->sharedStringsRoot);
if (parseXML(xlsx->zfile, STR_XML, &xlsx->sharedStringsRoot) != 0) {
xlsx->sharedStringsRoot = NULL;
}

xlsx->loc = ED_INIT_LOCALE;
switch (detectMissingData) {
Expand Down

0 comments on commit 2b2e5dc

Please sign in to comment.