[PATCH] osmocom-bb[master]: host/app_mobile.c: do not exit in mobile_new()

2017-05-17 Thread Vadim Yanitskiy
Hello Harald Welte, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/2659 to look at the new patch set (#2). host/app_mobile.c: do not exit in mobile_new() Previously, if there was any error during a new osmocom_ms structure allocation, the mobile_new() used to

[PATCH] osmocom-bb[master]: host/app_mobile.c: do not exit in mobile_new()

2017-05-16 Thread Vadim Yanitskiy
Review at https://gerrit.osmocom.org/2659 host/app_mobile.c: do not exit in mobile_new() Previously, if there was any error during a new osmocom_ms structure allocation, the mobile_new() used to call exit() directly. Since we always check return value of this function it would be more correct