diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glean/toccluqry.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glean/toccluqry.cpp b/src/glean/toccluqry.cpp index 4d49045..17dbd3f 100644 --- a/src/glean/toccluqry.cpp +++ b/src/glean/toccluqry.cpp @@ -526,6 +526,10 @@ bool OccluQryTest::conformOQ_Gen_Delete(unsigned int id_n) if (!ids1 || !ids2) { fprintf(stderr, "F: Cannot alloc memory to pointer ids[12].\n"); + if (ids1) + free(ids1); + if (ids2) + free(ids2); return false; } |