projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa91783
)
Free the iterator after iterating on bin elements.
author
Mohammed Sameer
<msameer@foolab.org>
Sun, 14 Apr 2013 00:56:37 +0000
(
03:56
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 2 Aug 2013 21:57:51 +0000
(
00:57
+0300)
We were practically leaking the memory and also holding
a reference to camerabin which prevents deleting it because
reference count will never reach 0
lib/qtcampropertysetter.cpp
patch
|
blob
|
history
diff --git
a/lib/qtcampropertysetter.cpp
b/lib/qtcampropertysetter.cpp
index
3d51f71
..
29db83d
100644
(file)
--- a/
lib/qtcampropertysetter.cpp
+++ b/
lib/qtcampropertysetter.cpp
@@
-65,6
+65,8
@@
public:
break;
}
}
+
+ gst_iterator_free(iter);
}
void setProperties(GstElement *element) {