Diff between 27906878d9a9a3daebc84d72c6b20496da22c0a2 and c57a8d82f70af16824abd4779ef506c6ec0c332f

Changed Files

File Additions Deletions Status
obexd/src/obex.c +1 -1 modified

Full Patch

diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 05143f5..ab7125c 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -1095,7 +1095,7 @@ static void obex_event_cb(obex_t *obex, obex_object_t *obj, int mode,
 
 	switch (evt) {
 	case OBEX_EV_PROGRESS:
-		if (os->service->progress)
+		if (os->service && os->service->progress)
 			os->service->progress(os, os->service_data);
 		break;
 	case OBEX_EV_ABORT: