validate: use MAY_BE_LEAKED flag

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D1230
This commit is contained in:
Guillaume Desmottes 2016-05-20 15:44:20 +03:00 committed by Thibault Saunier
parent 5b78110813
commit df6e25514c

View file

@ -333,6 +333,8 @@ gst_validate_action_type_new (void)
gst_validate_action_type_init (type);
/* action types are never freed */
GST_MINI_OBJECT_FLAG_SET (type, GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED);
return type;
}