about summary refs log tree commit diff stats
path: root/src/contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.c')
-rw-r--r--src/contact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contact.c b/src/contact.c
index 52942bec..839e7d10 100644
--- a/src/contact.c
+++ b/src/contact.c
@@ -240,6 +240,8 @@ _get_most_available_resource(PContact contact)
 
         resources = g_list_next(resources);
     }
+    free(resources);
+    free(current);
 
     return highest;
 }