[open-ils-commits] r12543 - trunk/Open-ILS/src/c-apps (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 16 13:25:50 EDT 2009


Author: scottmk
Date: 2009-03-16 13:25:47 -0400 (Mon, 16 Mar 2009)
New Revision: 12543

Modified:
   trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
Correct a blunder (trying to free the same memory twice)


Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c	2009-03-16 16:46:48 UTC (rev 12542)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c	2009-03-16 17:25:47 UTC (rev 12543)
@@ -2401,7 +2401,6 @@
 					buffer_free( sql_buf );
 					return NULL;
 				}
-				free(subpred);
 			} else if ( !strcasecmp("-and",search_itr->key) ) {
 				char* subpred = searchWHERE( node, meta, AND_OP_JOIN, ctx );
 				if( subpred ) {
@@ -2487,7 +2486,6 @@
         return NULL;
     }
 
-
 	return buffer_release(sql_buf);
 }
 



More information about the open-ils-commits mailing list