/pidgin/main: 7d05b0f03826: Request API: fix a crash
Tomasz Wasilczyk
twasilczyk at pidgin.im
Sat Sep 28 08:25:32 EDT 2013
Changeset: 7d05b0f03826cbe87f33f0e01647083b007f39a9
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2013-09-28 14:25 +0200
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/7d05b0f03826
Description:
Request API: fix a crash
diffstat:
libpurple/request.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff --git a/libpurple/request.c b/libpurple/request.c
--- a/libpurple/request.c
+++ b/libpurple/request.c
@@ -423,6 +423,9 @@ purple_request_cpar_set_extra_actions(Pu
GSList *
purple_request_cpar_get_extra_actions(PurpleRequestCommonParameters *cpar)
{
+ if (cpar == NULL)
+ return NULL;
+
return cpar->extra_actions;
}
More information about the Commits
mailing list