better memory safety in dispatcher_cb
Merge pull request #109 from opentechinstitute/bad-free

better memory safety in dispatcher_cb
Merge branch 'master' into debug