From: Denis Kenzior Date: Mon, 5 Oct 2009 21:20:55 +0000 (-0500) Subject: Fix: Don't crash when cached ef structure differs X-Git-Tag: 0.8~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60118757b2502f9582a567bcaec6b9f89a7d6650;p=platform%2Fupstream%2Fofono.git Fix: Don't crash when cached ef structure differs --- diff --git a/src/sim.c b/src/sim.c index b2fbe26..907e4ce 100644 --- a/src/sim.c +++ b/src/sim.c @@ -1474,7 +1474,7 @@ static gboolean sim_op_check_cached(struct ofono_sim *sim) if (error_type != OFONO_ERROR_TYPE_NO_ERROR || structure != op->structure) { ret = TRUE; - cb(0, 0, 0, 0, 0, 0); + cb(0, 0, 0, 0, 0, op->userdata); goto cleanup; }