changeset 105 | c31988e107b3 |
parent 104 | 060e69633902 |
child 107 | a7f14a5e112c |
--- a/jingle/sessions.c Fri Aug 13 01:23:59 2010 +0200 +++ b/jingle/sessions.c Fri Aug 13 13:53:12 2010 +0200 @@ -276,6 +276,10 @@ { // TODO: check that the module is always loaded JingleSession *sess = session_find_by_sid(sid, from); + if (sess == NULL) { + scr_LogPrint(LPRINT_LOGNORM, "Session not found (%s)", name); + return; + } SessionContent *sc = session_find_sessioncontent(sess, name); sc->transfuncs->send(sess->to, sc->transport, data, size); }