anjuta r4106 - in trunk: . plugins/search



Author: sgranjoux
Date: Sun Aug  3 13:18:50 2008
New Revision: 4106
URL: http://svn.gnome.org/viewvc/anjuta?rev=4106&view=rev

Log:
	* plugins/search/search-replace_backend.c:
	Fix #544495: Memory leak


Modified:
   trunk/ChangeLog
   trunk/plugins/search/search-replace_backend.c

Modified: trunk/plugins/search/search-replace_backend.c
==============================================================================
--- trunk/plugins/search/search-replace_backend.c	(original)
+++ trunk/plugins/search/search-replace_backend.c	Sun Aug  3 13:18:50 2008
@@ -603,7 +603,10 @@
 						break;
 					}
 					else
+					{
+						g_free (current_key);
 						current = g_utf8_next_char (current);
+					}
 				}
 				g_free (search_key);
 			}



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