nautilus r14854 - in trunk: . libnautilus-private
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14854 - in trunk: . libnautilus-private
- Date: Tue, 13 Jan 2009 13:17:55 +0000 (UTC)
Author: alexl
Date: Tue Jan 13 13:17:55 2009
New Revision: 14854
URL: http://svn.gnome.org/viewvc/nautilus?rev=14854&view=rev
Log:
2009-01-13 Alexander Larsson <alexl redhat com>
* libnautilus-private/nautilus-debug-log.c:
(nautilus_debug_logv):
Make space for terminating zero
Modified:
trunk/ChangeLog
trunk/libnautilus-private/nautilus-debug-log.c
Modified: trunk/libnautilus-private/nautilus-debug-log.c
==============================================================================
--- trunk/libnautilus-private/nautilus-debug-log.c (original)
+++ trunk/libnautilus-private/nautilus-debug-log.c Tue Jan 13 13:17:55 2009
@@ -197,7 +197,7 @@
}
debug_str_len = strlen (debug_str);
- new_str = g_new (char, debug_str_len + 1 + uris_len); /* plus 1 for newline */
+ new_str = g_new (char, debug_str_len + 1 + uris_len + 1); /* plus 1 for newline & zero */
p = g_stpcpy (new_str, debug_str);
*p++ = '\n';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]