diff options
author | dimitri staessens <[email protected]> | 2017-04-04 07:32:47 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-04 07:32:47 +0000 |
commit | ca1d635458b5ef56e27d9265a2c89580d9d0f218 (patch) | |
tree | b68ec1c7f6ed81169cfd42f4cac1af6fe0bb65c6 /src/irmd/api_table.c | |
parent | e38e34017b4a7667e11c08e9947e72dfc0b87474 (diff) | |
parent | f48008cdd28bf31e6f0646b1bb3786f0dc0aede0 (diff) | |
download | ouroboros-ca1d635458b5ef56e27d9265a2c89580d9d0f218.tar.gz ouroboros-ca1d635458b5ef56e27d9265a2c89580d9d0f218.zip |
Merged in dstaesse/ouroboros/be-stable (pull request #457)
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; } |