Author: file
Date: Fri Jul 20 12:25:47 2007
New Revision: 416

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=416
Log:
(closes issue #10242)
Reported by: IgorG
Patches:
      mobcrash-415-1.patch uploaded by IgorG (license #20)
Don't crash when unloading chan_mobile when it did not completely initialize 
itself.

Modified:
    trunk/chan_mobile.c

Modified: trunk/chan_mobile.c
URL: 
http://svn.digium.com/view/asterisk-addons/trunk/chan_mobile.c?view=diff&rev=416&r1=415&r2=416
==============================================================================
--- trunk/chan_mobile.c (original)
+++ trunk/chan_mobile.c Fri Jul 20 12:25:47 2007
@@ -1788,7 +1788,8 @@
                free(pvt);
        }
 
-       sdp_close(sdp_session);
+       if (sdp_session)
+               sdp_close(sdp_session);
 
        return 0;
 


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to