diff options
-rw-r--r-- | drivers/calypsomodem/voicecall.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/calypsomodem/voicecall.c b/drivers/calypsomodem/voicecall.c index 97200964..05bae893 100644 --- a/drivers/calypsomodem/voicecall.c +++ b/drivers/calypsomodem/voicecall.c @@ -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); } |