summaryrefslogtreecommitdiff
blob: cb08011cc3d8bb6d0e1e372d811f29148227bc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
===================================================================
RCS file: /cvs/gstreamer/gstreamer/libs/gst/dataprotocol/dataprotocol.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dataprotocol.c	2004/10/01 16:49:01	1.7
+++ dataprotocol.c	2005/02/18 13:58:36	1.8
@@ -83,7 +83,7 @@
 {
   int i;
   int n = 8;                    /* number of bytes per line */
-  gchar *line = g_malloc (3 * n);
+  gchar *line = g_malloc (3 * n + 1);
 
   GST_LOG ("dumping byte array of length %d", length);
   for (i = 0; i < length; ++i) {