kncasic: We need to free queued work to avoid memory leaks
kncasic: Fix "double free" error
Merge pull request #591 from KnCMiner/kncasic_fixes

kncasic fixes