[Xfce4-commits] r23228 - xarchiver/branches/xarchiver-psybsd/libxarchiver
Stephan Arts
stephan at xfce.org
Thu Sep 28 12:18:46 UTC 2006
Author: stephan
Date: 2006-09-28 12:18:45 +0000 (Thu, 28 Sep 2006)
New Revision: 23228
Modified:
xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c
Log:
fixed segfault
Modified: xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c 2006-09-28 12:14:14 UTC (rev 23227)
+++ xarchiver/branches/xarchiver-psybsd/libxarchiver/internals.c 2006-09-28 12:18:45 UTC (rev 23228)
@@ -119,11 +119,11 @@
lxa_concat_filenames(GSList *filenames)
{
GSList *_filenames = filenames;
- gchar *concat_str = " ", *_concat_str;
+ gchar *concat_str = g_strdup(" "), *_concat_str;
while(_filenames)
{
- _concat_str = concat_str;
+ _concat_str = concat_str;
concat_str = g_strconcat(concat_str, " ", _filenames->data, NULL);
_filenames = _filenames->next;
g_free(_concat_str);
More information about the Xfce4-commits
mailing list