[open-ils-commits] r11573 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 15 10:26:04 EST 2008
Author: miker
Date: 2008-12-15 10:26:02 -0500 (Mon, 15 Dec 2008)
New Revision: 11573
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
freeing too much, leads to undefined behavior and eventually a segfault
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 15:12:17 UTC (rev 11572)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-12-15 15:26:02 UTC (rev 11573)
@@ -1005,7 +1005,6 @@
osrfStringArrayFree(class_list);
free(foreign_pkey_value);
- free(foreign_pkey);
jsonObjectFree(param);
return 0;
@@ -1013,7 +1012,6 @@
jsonObjectFree(_tmp_params);
free(foreign_pkey_value);
- free(foreign_pkey);
int j = 0;
char* foreign_field = NULL;
More information about the open-ils-commits
mailing list