diff options
Diffstat (limited to 'drivers/atmodem/atutil.c')
-rw-r--r-- | drivers/atmodem/atutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/atmodem/atutil.c b/drivers/atmodem/atutil.c index fe7cbfc1..b6f0d92a 100644 --- a/drivers/atmodem/atutil.c +++ b/drivers/atmodem/atutil.c @@ -133,8 +133,7 @@ GSList *at_util_parse_clcc(GAtResult *result) g_at_result_iter_next_number(&iter, &number_type); call = g_try_new0(struct ofono_call, 1); - - if (!call) + if (call == NULL) break; call->id = id; |