summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 735e7a6)
raw | patch | inline | side by side (from parent 1: 735e7a6)
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Fri, 13 Jan 2012 13:46:50 +0000 (13:46 +0000) | ||
committer | Nikhil Devshatwar <a0132237@ti.com> | |
Fri, 17 May 2013 09:40:54 +0000 (15:10 +0530) |
The object will be freed, so it's pointless to set the pointers
to NULL anyway.
to NULL anyway.
ext/x264/gstx264enc.c | patch | blob | history |
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 2be3dd3b9ca7d5646b3b5f23968763be9ebd81cf..ea3cf0bf9ca3581209b8c45c0828f50fd2ced27b 100644 (file)
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
#define FREE_STRING(ptr) \
if (ptr) \
- ptr = (GString *)g_string_free (ptr, TRUE);
+ g_string_free (ptr, TRUE);
FREE_STRING (encoder->tunings);
FREE_STRING (encoder->option_string);