From 50ae504bc6370e05bd6f3a115f67986cb565302b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 24 Oct 2009 12:19:58 -0500 Subject: Fix: Fix segfault from improperly initialized data --- src/gprs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gprs.c') diff --git a/src/gprs.c b/src/gprs.c index 1827ceb1..688f2d9e 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -992,6 +992,7 @@ void ofono_gprs_add_context(struct ofono_gprs *gprs, struct ofono_gprs_context *gc) { gprs->context_driver = gc; + gc->gprs = gprs; __ofono_atom_register(gc->atom, gprs_context_unregister); } -- cgit v1.2.3