diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-15 21:12:34 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-15 21:12:34 +0200 |
commit | f5645872db78ad274fc185c2e81fb9f89f6eab8a (patch) | |
tree | eac5ef2dcab2eedbf2470b3438151985b3b3851d /handler.c | |
parent | da4e79329f33efbde04d7791297c4a60b694640e (diff) |
moved more streamer functions into streamer thread via message queue
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -86,6 +86,9 @@ handler_free (handler_t *h) { int handler_push (handler_t *h, uint32_t id, uintptr_t ctx, uint32_t p1, uint32_t p2) { + if (!h) { + return -1; + } if (!h->mfree) { return -1; } |