diff options
author | dimitri staessens <[email protected]> | 2017-04-04 02:43:10 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-04-04 09:27:02 +0200 |
commit | f48008cdd28bf31e6f0646b1bb3786f0dc0aede0 (patch) | |
tree | b68ec1c7f6ed81169cfd42f4cac1af6fe0bb65c6 /src/irmd/api_table.c | |
parent | 0f30eaa3d4dd573f9af30a9fd0c5d22bad63c560 (diff) | |
download | ouroboros-f48008cdd28bf31e6f0646b1bb3786f0dc0aede0.tar.gz ouroboros-f48008cdd28bf31e6f0646b1bb3786f0dc0aede0.zip |
lib, irmd, ipcpd: Stabilize flow allocation
Diffstat (limited to 'src/irmd/api_table.c')
-rw-r--r-- | src/irmd/api_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irmd/api_table.c b/src/irmd/api_table.c index 1c655004..5ff0fcf6 100644 --- a/src/irmd/api_table.c +++ b/src/irmd/api_table.c @@ -185,7 +185,8 @@ int api_entry_sleep(struct api_entry * e) &dl); if (e->state == API_DESTROY) { - reg_entry_del_api(e->re, e->api); + if (e->re != NULL) + reg_entry_del_api(e->re, e->api); ret = -1; } |