Move qt_cam_copy_register to QtCamera
[harmattan/cameraplus] / lib / qtcampropertysetter.cpp
index 28fceb9..29db83d 100644 (file)
@@ -1,7 +1,7 @@
 /*!
  * This file is part of CameraPlus.
  *
- * Copyright (C) 2012 Mohammed Sameer <msameer@foolab.org>
+ * Copyright (C) 2012-2013 Mohammed Sameer <msameer@foolab.org>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -65,6 +65,8 @@ public:
        break;
       }
     }
+
+    gst_iterator_free(iter);
   }
 
   void setProperties(GstElement *element) {