hfpmodem: fix memory leak

This commit is contained in:
Jeevaka Badrappan 2011-01-29 10:24:12 -08:00 committed by Denis Kenzior
parent 3549623a40
commit ae9feb72e9
1 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,8 @@ static void hfp_current_operator(struct ofono_netreg *netreg,
if (ok)
return;
g_free(cbd);
CALLBACK_WITH_FAILURE(cb, NULL, data);
}