> re > > smsc_emi2.c > > function int smsc_emi2_create(SMSCConn *conn, CfgGroup *cfg) > > will set privdata to NULL at line 1610 (may slightly vary - have made some > changes) before goto error:, but: > > > error: > > error(0, "EMI2[%s]: Failed to create emi2 smsc connection", > octstr_get_cstr(privdata->name)); > > uses privdata ..
more .. the same code some lines down (around 1660), in the error: block, after freeing userdata, still tries to use it for info() .. k
