mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
validate: Don't deinit too early
If we are going to use the validate functions ... do that *before* deinit'ing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3390>
This commit is contained in:
parent
eebb794a4f
commit
f8f3615585
1 changed files with 3 additions and 2 deletions
|
@ -177,11 +177,12 @@ out:
|
|||
}
|
||||
if (runner)
|
||||
gst_object_unref (runner);
|
||||
gst_validate_deinit ();
|
||||
gst_deinit ();
|
||||
|
||||
gst_validate_printf (NULL, "\n=======> Test %s (Return value: %i)\n\n",
|
||||
ret == 0 ? "PASSED" : "FAILED", ret);
|
||||
|
||||
gst_validate_deinit ();
|
||||
gst_deinit ();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue