« Return to Thread: Updating kdepim plugin

[PATCH 7] Fixed OSyncList* leak from osync_plugin_info_get_objtype_sinks()

by Chris Frey-2 :: Rate this Message:

Reply to Author | View in Thread


---
 src/kdepim_sync.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/kdepim_sync.cpp b/src/kdepim_sync.cpp
index 0139c3f..a413eaa 100644
--- a/src/kdepim_sync.cpp
+++ b/src/kdepim_sync.cpp
@@ -154,6 +154,7 @@ osync_bool kde_discover(OSyncPluginInfo *info, void *userdata, OSyncError **erro
  OSyncObjTypeSink *sink = (OSyncObjTypeSink *) l->data;
  osync_objtype_sink_set_available(sink, TRUE);
  }
+ osync_list_free(list);
 
         // set information about the peer (KDE itself)
         {
--
1.6.2.1


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

 « Return to Thread: Updating kdepim plugin