[anjuta] symbol-db: Fixed queries leak, eventually leading to running out of values pool.



commit 9de74cda095cb46b671f3eedbc32a231b6ec2c50
Author: Naba Kumar <naba gnome org>
Date:   Thu Mar 11 21:09:11 2010 +0200

    symbol-db: Fixed queries leak, eventually leading to running out of values pool.

 plugins/symbol-db/symbol-db-engine-queries.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-engine-queries.c b/plugins/symbol-db/symbol-db-engine-queries.c
index 9fb1dba..18cef3b 100644
--- a/plugins/symbol-db/symbol-db-engine-queries.c
+++ b/plugins/symbol-db/symbol-db-engine-queries.c
@@ -624,7 +624,7 @@ symbol_db_engine_get_global_members_filtered (SymbolDBEngine *dbe,
 	if (filter_kinds_array == NULL || filter_kinds_array->len > 255 || filter_kinds_array->len <= 0) 
 	{
 		if ((dyn_node = sdb_engine_get_dyn_query_node_by_id (dbe, 
-					DYN_PREP_QUERY_GET_CLASS_PARENTS, sym_info, 
+					DYN_PREP_QUERY_GET_GLOBAL_MEMBERS_FILTERED, sym_info,
 					other_parameters)) == NULL)
 		{
 			/* info_data contains the stuff after SELECT and befor FROM */
@@ -675,7 +675,7 @@ symbol_db_engine_get_global_members_filtered (SymbolDBEngine *dbe,
 		other_parameters |= filter_kinds_array->len;
 		
 		if ((dyn_node = sdb_engine_get_dyn_query_node_by_id (dbe, 
-				DYN_PREP_QUERY_GET_CLASS_PARENTS, sym_info, 
+				DYN_PREP_QUERY_GET_GLOBAL_MEMBERS_FILTERED, sym_info,
 				other_parameters)) == NULL)
 		{		
 			gint i;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]