mirror of git://git.sysmocom.de/ofono
calypsomodem: Remove useless NULL checks before g_free
This commit is contained in:
parent
de221f87fa
commit
70ce93a981
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue