commit | adb86759daa80a484eef4b5a24bc0ce0de0a0763 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Apr 01 20:31:11 2016 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Apr 06 21:21:24 2016 +0200 |
tree | f60a1c04eb3114be6f85f5862e7e6ab374041e96 | |
parent | 2826df56b2af5a6a0f20e5a9bcf1d50a1130f0ba [diff] |
db: If creating a subscriber in the db fails, return NULL We should not return a subscriber in case it was not written to the database. Instead free the memory allocated and return NULL. Callers in gsm_04_08.c are prepared to have the creation fail. Related: OS Issue #1657