Mercurial > pidgin.yaz
comparison src/protocols/silc/ops.c @ 13446:1118b6fc3206
[gaim-migrate @ 15821]
Don't risk dereferencing a NULL pointer, nickname is guaranteed to be
non-NULL if we got this far.
Fixes CID 21
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 07 Mar 2006 09:33:26 +0000 |
parents | b2efa1432708 |
children | cfc2f7fcb3dd |
comparison
equal
deleted
inserted
replaced
13445:96a6285b9879 | 13446:1118b6fc3206 |
---|---|
1357 silc_free(babbleprint); | 1357 silc_free(babbleprint); |
1358 silc_free(pk); | 1358 silc_free(pk); |
1359 } | 1359 } |
1360 | 1360 |
1361 buf = g_string_free(s, FALSE); | 1361 buf = g_string_free(s, FALSE); |
1362 gaim_notify_userinfo(gc, client_entry->nickname, buf, NULL, NULL); | 1362 gaim_notify_userinfo(gc, nickname, buf, NULL, NULL); |
1363 g_free(buf); | 1363 g_free(buf); |
1364 } | 1364 } |
1365 break; | 1365 break; |
1366 | 1366 |
1367 case SILC_COMMAND_DETACH: | 1367 case SILC_COMMAND_DETACH: |