Don't free uninitialized pointers
authorWim Taymans <wim.taymans@gmail.com>
Sun, 7 Jul 2002 14:17:00 +0000 (14:17 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 7 Jul 2002 14:17:00 +0000 (14:17 +0000)
Original commit message from CVS:
Don't free uninitialized pointers

ext/lame/gstlame.c

index 58c2b9d..e7f9d5d 100644 (file)
@@ -675,7 +675,7 @@ gst_lame_chain (GstPad *pad, GstBuffer *buf)
 {
   GstLame *lame;
   GstBuffer *outbuf;
-  gchar *mp3_data;
+  gchar *mp3_data = NULL;
   gint mp3_buffer_size, mp3_size = 0;
   gboolean eos = FALSE;