mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
qa-reporter: fix crash by avoiding unref an integer
This commit is contained in:
parent
c81e6198f9
commit
e7853ec69f
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ gst_qa_reporter_get_priv (GstQaReporter * reporter)
|
||||||
if (priv == NULL) {
|
if (priv == NULL) {
|
||||||
priv = g_slice_new0 (GstQaReporterPrivate);
|
priv = g_slice_new0 (GstQaReporterPrivate);
|
||||||
priv->reports = g_hash_table_new_full (g_direct_hash,
|
priv->reports = g_hash_table_new_full (g_direct_hash,
|
||||||
g_direct_equal, g_free, (GDestroyNotify) gst_qa_report_unref);
|
g_direct_equal, NULL, (GDestroyNotify) gst_qa_report_unref);
|
||||||
|
|
||||||
g_object_set_data_full (G_OBJECT (reporter), REPORTER_PRIVATE, priv,
|
g_object_set_data_full (G_OBJECT (reporter), REPORTER_PRIVATE, priv,
|
||||||
(GDestroyNotify) _free_priv);
|
(GDestroyNotify) _free_priv);
|
||||||
|
|
Loading…
Reference in a new issue