]> sjero.net Git - linphone/blobdiff - gtk/main.c
fix crash in coreapi
[linphone] / gtk / main.c
index 2f34cd4d420862f93e776c4a899a5452c842d4d7..dab29bda06249637db965515693061fb99c1b09a 100644 (file)
@@ -816,7 +816,6 @@ static gboolean linphone_gtk_auto_answer(LinphoneCall *call){
        LinphoneCallState state=linphone_call_get_state(call);
        if (state==LinphoneCallIncomingReceived || state==LinphoneCallIncomingEarlyMedia){
                accept_incoming_call(call);
-               linphone_call_unref(call);
        }
        return FALSE;
 }