summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index 64f51ba..2bb3f0e 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -524,6 +524,7 @@ do \
for (y = 0; y < height; y++) {
ErrorStatus = xpmNextString(data);
if (ErrorStatus != XpmSuccess) {
+ FREE_CIDX;
XpmFree(iptr2);
return (ErrorStatus);
}