Revision f2a8339e
Von admin vor mehr als 4 Jahren hinzugefügt
test/test4.c | ||
---|---|---|
DBG_ERROR(0, "ERROR: There are too few objects of type1");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
Type1_List_free(tl);
|
||
}
|
||
|
||
if (1) {
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type2");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
Type2_List_free(tl);
|
||
}
|
||
|
||
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type1 (run2)");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
Type1_List_free(tl);
|
||
}
|
||
|
||
if (1) {
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type2 (run2)");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
|
||
Type2_List_free(tl);
|
||
}
|
||
|
||
|
||
... | ... | |
AQDB_DB_free(db);
|
||
return rv;
|
||
}
|
||
|
||
AQDB_SessionDescr_List_free(sl);
|
||
}
|
||
|
||
|
||
... | ... | |
fprintf(stderr, "ERROR: There are too few objects of type1 (run3)\n");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
|
||
Type1_List_free(tl);
|
||
}
|
||
|
||
if (1) {
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type2 (run3)");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
Type2_List_free(tl);
|
||
}
|
||
|
||
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type1 (run2)");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
|
||
Type1_List_free(tl);
|
||
}
|
||
|
||
if (1) {
|
||
... | ... | |
DBG_ERROR(0, "ERROR: There are too few objects of type2 (run2)");
|
||
return GWEN_ERROR_INTERNAL;
|
||
}
|
||
|
||
Type2_List_free(tl);
|
||
}
|
||
|
||
|
Auch abrufbar als: Unified diff
Fixed some memory leaks.