do not free unallocated memory, also fixed a small memleak in the inspircd protocol module