Fix non-portable code to allow MSVC compilation
This PR removes the cleanup attribute to allow compilation with MSVC. This will allow cross-platform applications that depended on libpanel to compile again. Let me know if I accidentally forgot to free something!
Edited by William Roy