about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-14 01:49:57 +0000
committerJames Booth <boothj5@gmail.com>2016-02-14 01:49:57 +0000
commitd7b331874a1a98ad97ca9f331d4eab5d81b29b13 (patch)
tree2f0b438e4b3aee6b91848dfdce9b4d386343d0e3 /src
parent7a19ee822bc6268cc228305f950c2dcb0eed6776 (diff)
downloadprofani-tty-d7b331874a1a98ad97ca9f331d4eab5d81b29b13.tar.gz
Fix memory leaks
Diffstat (limited to 'src')
-rw-r--r--src/event/server_events.c1
-rw-r--r--src/window_list.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index a21b27c0..5d0fda77 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -116,6 +116,7 @@ sv_ev_roster_received(void)
         }
         free(err_str);
     }
+    account_free(account);
 #endif
 
     // send initial presence
diff --git a/src/window_list.c b/src/window_list.c
index 7ba62e47..0dbaab85 100644
--- a/src/window_list.c
+++ b/src/window_list.c
@@ -628,6 +628,7 @@ wins_do_notify_remind(void)
         }
         curr = g_list_next(curr);
     }
+    g_list_free(values);
     return FALSE;
 }