Mercurial > pidgin.yaz
diff src/account.c @ 8549:1a016d979ce0
[gaim-migrate @ 9291]
if we can't write a file, we certainly shouldn't toast the file we have
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 01 Apr 2004 21:24:17 +0000 |
parents | ef881489396e |
children | 7dcd6f26e4a7 |
line wrap: on
line diff
--- a/src/account.c Thu Apr 01 19:25:11 2004 +0000 +++ b/src/account.c Thu Apr 01 21:24:17 2004 +0000 @@ -1395,6 +1395,8 @@ else { gaim_debug(GAIM_DEBUG_ERROR, "accounts", "Unable to write %s\n", filename); + g_free(filename); + return; } filename_real = g_build_filename(user_dir, "accounts.xml", NULL);