Fix: Don't crash when cached ef structure differs

This commit is contained in:
Denis Kenzior 2009-10-05 16:20:55 -05:00
parent af1b6a228a
commit 60118757b2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}