mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
handdetect: Release memory storage
This commit is contained in:
parent
ae1027297c
commit
e1366c29be
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ gst_handdetect_finalize (GObject * obj)
|
|||
cvReleaseImage (&filter->cvImage);
|
||||
if (filter->cvGray)
|
||||
cvReleaseImage (&filter->cvGray);
|
||||
if (filter->cvStorage)
|
||||
cvReleaseMemStorage (&filter->cvStorage);
|
||||
if (filter->cvStorage_palm)
|
||||
cvReleaseMemStorage (&filter->cvStorage_palm);
|
||||
g_free (filter->profile_fist);
|
||||
g_free (filter->profile_palm);
|
||||
|
||||
|
|
Loading…
Reference in a new issue