gimp-gap r777 - in branches/gap-2-4: . gap



Author: wolfgangh
Date: Sun Oct  5 12:18:29 2008
New Revision: 777
URL: http://svn.gnome.org/viewvc/gimp-gap?rev=777&view=rev

Log:
fixed BUG #523115

Modified:
   branches/gap-2-4/ChangeLog
   branches/gap-2-4/gap/gap_lib.c

Modified: branches/gap-2-4/gap/gap_lib.c
==============================================================================
--- branches/gap-2-4/gap/gap_lib.c	(original)
+++ branches/gap-2-4/gap/gap_lib.c	Sun Oct  5 12:18:29 2008
@@ -652,7 +652,7 @@
   }
 
   l_len = strlen(name);
-  l_str = g_malloc(l_len+1);
+  l_str = g_malloc(l_len+2);
   strcpy(l_str, name);
   if(l_len > 0)
   {



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