ekiga r7579 - trunk/lib/engine/components/gstreamer
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7579 - trunk/lib/engine/components/gstreamer
- Date: Tue, 20 Jan 2009 07:46:58 +0000 (UTC)
Author: jpuydt
Date: Tue Jan 20 07:46:57 2009
New Revision: 7579
URL: http://svn.gnome.org/viewvc/ekiga?rev=7579&view=rev
Log:
Use g_malloc0 instead of g_malloc
Modified:
trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
Modified: trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp (original)
+++ trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp Tue Jan 20 07:46:57 2009
@@ -228,7 +228,7 @@
if (src != NULL) {
- tmp = (gchar*)g_malloc (size);
+ tmp = (gchar*)g_malloc0 (size);
memcpy (tmp, data, size);
buffer = gst_app_buffer_new (tmp, size,
(GstAppBufferFinalizeFunc)g_free, tmp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]