mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
leak tracer: Initialize GValue
This commit is contained in:
parent
14cd8b8348
commit
447cae6229
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ process_leak (Leak * leak, GValue * ret_leaks)
|
||||||
leak->obj, refinfo->reffed ? "reffed" : "unreffed",
|
leak->obj, refinfo->reffed ? "reffed" : "unreffed",
|
||||||
refinfo->new_refcount, refinfo->trace ? refinfo->trace : "");
|
refinfo->new_refcount, refinfo->trace ? refinfo->trace : "");
|
||||||
} else {
|
} else {
|
||||||
GValue r_value;
|
GValue r_value = G_VALUE_INIT;
|
||||||
r = gst_structure_new_empty ("object-refings");
|
r = gst_structure_new_empty ("object-refings");
|
||||||
gst_structure_set (r, "ts", GST_TYPE_CLOCK_TIME, refinfo->ts,
|
gst_structure_set (r, "ts", GST_TYPE_CLOCK_TIME, refinfo->ts,
|
||||||
"desc", G_TYPE_STRING, refinfo->reffed ? "reffed" : "unreffed",
|
"desc", G_TYPE_STRING, refinfo->reffed ? "reffed" : "unreffed",
|
||||||
|
|
Loading…
Reference in a new issue