Add missing free() call in ws_event_new
Merge pull request #360 from xVin/fix-ws_event_new

Add missing free() call in ws_event_new