Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f2a8339e

Von admin vor mehr als 4 Jahren hinzugefügt

  • ID f2a8339e8542d1d597e89269634f6c9e1b8a5a6c
  • Vorgänger 3d30b968
  • Nachfolger fa0c604e

Fixed some memory leaks.

Unterschiede anzeigen:

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