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
1 file changed
tree: f60a1c04eb3114be6f85f5862e7e6ab374041e96
  1. debian/
  2. openbsc/
  3. .gitignore