use a non-const pointer variable for something that is to be free()d
use a non-const pointer variable for something that is to be free()d

patch by DevHC

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon