Missing frees, removed unnecessary alloc.
Missing frees, removed unnecessary alloc.

boothj5/webdis,boothj5/webdis,mrkeng/webdis,nicolasff/webdis,nicolasff/webdis,nicolasff/webdis,nicolasff/webdis,nicolasff/webdis,cauchycui/webdis,mrkeng/webdis,mrkeng/webdis,cauchycui/webdis,boothj5/webdis,cauchycui/webdis,cauchycui/webdis,boothj5/webdis,mrkeng/webdis