calypsomodem: Remove useless NULL checks before g_free

This commit is contained in:
Marcel Holtmann 2010-08-16 22:12:08 +02:00
parent de221f87fa
commit 70ce93a981
1 changed files with 1 additions and 2 deletions

View File

@ -71,8 +71,7 @@ static void calypso_template(struct ofono_voicecall *vc, const char *cmd,
return;
error:
if (cbd)
g_free(cbd);
g_free(cbd);
CALLBACK_WITH_FAILURE(cb, data);
}