Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Thibault Saunier
gst-devtools
Commits
4177f099
Commit
4177f099
authored
Aug 13, 2020
by
Thibault Saunier
🌵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
validate:scenario: Plug some leaks
Part-of: <
gstreamer/gst-devtools!219
>
parent
369c7494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
validate/gst/validate/gst-validate-scenario.c
validate/gst/validate/gst-validate-scenario.c
+9
-0
No files found.
validate/gst/validate/gst-validate-scenario.c
View file @
4177f099
...
...
@@ -756,6 +756,8 @@ _get_target_object_property (GstValidateScenario * scenario,
done
=
TRUE
;
}
}
gst_iterator_free
(
it
);
}
REPORT_UNLESS
(
target
,
err
,
"Could not find pad: %s::%s"
,
elemname
,
padname
);
...
...
@@ -4259,6 +4261,13 @@ gst_validate_scenario_load_structures (GstValidateScenario * scenario,
}
action
->
action_number
=
priv
->
num_actions
++
;
if
(
action
->
priv
->
state
==
GST_VALIDATE_EXECUTE_ACTION_OK
)
{
GST_DEBUG_OBJECT
(
scenario
,
"Unrefing action that has already been executed"
);
gst_validate_action_unref
(
action
);
action
=
NULL
;
}
}
/* max-latency and max-dropped can be overridden using config */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment