/pidgin/main: f76e88e80517: keyring: fix crash on g_assert

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Sun Aug 4 16:04:51 EDT 2013


Changeset: f76e88e80517f7b77145a4b5e012ce96de7b86c4
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2013-08-04 22:04 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/f76e88e80517

Description:

keyring: fix crash on g_assert

diffstat:

 libpurple/keyring.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/keyring.c b/libpurple/keyring.c
--- a/libpurple/keyring.c
+++ b/libpurple/keyring.c
@@ -835,6 +835,7 @@ purple_keyring_get_password(PurpleAccoun
 			_("No keyring configured."));
 		cb(account, NULL, error, data);
 		g_error_free(error);
+		return;
 	}
 
 	read_cb = purple_keyring_get_read_password(inuse);



More information about the Commits mailing list