mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
tests/check/elements/amrnbenc.c: Init memory before feeding it to the encoder to make the valgrind test succeed.
Original commit message from CVS: * tests/check/elements/amrnbenc.c: (push_data): Init memory before feeding it to the encoder to make the valgrind test succeed.
This commit is contained in:
parent
1594d8f6e9
commit
f1dd335024
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-06-12 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tests/check/elements/amrnbenc.c: (push_data):
|
||||
Init memory before feeding it to the encoder to make
|
||||
the valgrind test succeed.
|
||||
|
||||
2006-06-12 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/asfdemux/.cvsignore:
|
||||
|
|
|
@ -115,7 +115,7 @@ push_data (gint size, GstFlowReturn expected_return)
|
|||
{
|
||||
GstBuffer *buffer;
|
||||
GstFlowReturn res;
|
||||
gchar *data = g_malloc (size);
|
||||
gchar *data = g_malloc0 (size);
|
||||
|
||||
buffer = buffer_new (data, size);
|
||||
g_free (data);
|
||||
|
|
Loading…
Reference in a new issue