From: Marcel Holtmann Date: Thu, 24 Dec 2009 15:06:23 +0000 (-0800) Subject: Unifiy all GAtChat error labels X-Git-Tag: 2.0_alpha~2969 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87e6b29bf24c381c2f3ede4227d445305f496f56;p=framework%2Fconnectivity%2Fconnman.git Unifiy all GAtChat error labels --- diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index d090766..7c8f35a 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -555,7 +555,7 @@ static void have_pdu(GAtChat *p, char *pdu) gboolean listing_pdu = FALSE; if (!pdu) - goto err; + goto error; result.lines = g_slist_prepend(NULL, p->pdu_notify); result.final_or_pdu = pdu; @@ -580,7 +580,7 @@ static void have_pdu(GAtChat *p, char *pdu) g_slist_free(result.lines); -err: +error: g_free(p->pdu_notify); p->pdu_notify = NULL;