diff options
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r-- | src/lib/dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c index 9b41e5d4..cfcfdf81 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -857,8 +857,7 @@ int flow_dealloc(int fd) if (!recv_msg->has_result) { irm_msg__free_unpacked(recv_msg, NULL); - assert(false); - return -1; + return -EIRMD; } irm_msg__free_unpacked(recv_msg, NULL); |