mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
fixed stupid (brown paper bag) bug with missing NULL on g_strconcat
Original commit message from CVS: fixed stupid (brown paper bag) bug with missing NULL on g_strconcat
This commit is contained in:
parent
70d57d84b1
commit
e154186bc4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ void gst_cpuid_i386(int,long *,long *,long *,long *);
|
||||||
static gchar *stringcat (gchar *a,gchar *b) {
|
static gchar *stringcat (gchar *a,gchar *b) {
|
||||||
gchar *c;
|
gchar *c;
|
||||||
if (a) {
|
if (a) {
|
||||||
c = g_strconcat(a,b);
|
c = g_strconcat(a,b,NULL);
|
||||||
g_free(a);
|
g_free(a);
|
||||||
} else
|
} else
|
||||||
c = g_strdup(b);
|
c = g_strdup(b);
|
||||||
|
|
Loading…
Reference in a new issue