Skip to content

Commit

Permalink
Fix lots of memory handling issues (including reference leaks).
Browse files Browse the repository at this point in the history
  • Loading branch information
jdapena committed May 14, 2012
1 parent 3d10f42 commit e7c6203
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 44 deletions.
3 changes: 2 additions & 1 deletion src/im-service-mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,10 @@ im_service_mgr_new (ImAccountMgr *account_mgr)
"user-data-dir", im_service_mgr_get_user_data_dir (),
"user-cache-dir", user_cache_dir,
NULL));

g_free (user_cache_dir);

camel_session_set_junk_headers (CAMEL_SESSION (obj), NULL, NULL, 0);

priv = IM_SERVICE_MGR_GET_PRIVATE(obj);

monitor = g_network_monitor_get_default ();
Expand Down
Loading

0 comments on commit e7c6203

Please sign in to comment.