Moved common object creation to a separated function to prevent possible memory leaks Improved PID delete messages
Moved common object creation to a separated function to prevent possible memory leaks
Improved PID delete messages

MBRG/otrs,crythias/otrs,muehlbauer/otrs,muehlbauer/otrs,s7design/otrs,rudy500/otrs,eliasp/otrs,vlascoder/otrs,crythias/otrs,linearregression/otrs,moritz/otrs,xhoy/otrs,StCyr/otrs,balazj/otrs,brandonshults01/otrs,noritnk/otrs,mbeijen/otrs-1,linearregression/otrs,brandonshults01/otrs,rudy500/otrs,oiami/otrs,PortgasDAce/otrs,crythias/otrs,capeit-tto/otrs,rudy500/otrs,MBRG/otrs,PortgasDAce/otrs,MBRG/otrs,s7design/otrs,thorsteneckel/otrs,oiami/otrs,s7design/otrs,thorsteneckel/otrs,linearregression/otrs,vlascoder/otrs,nilei/otrs,nilei/otrs,oiami/otrs,MBRG/otrs,s7design/otrs,capeit-tto/otrs,capeit-tto/otrs,thorsteneckel/otrs,nilei/otrs,balazj/otrs,PortgasDAce/otrs,xhoy/otrs,moritz/otrs,moritz/otrs,rudy500/otrs,crythias/otrs,oiami/otrs,noritnk/otrs,xhoy/otrs,PortgasDAce/otrs,eliasp/otrs,muehlbauer/otrs,thorsteneckel/otrs,brandonshults01/otrs,xhoy/otrs,eliasp/otrs,brandonshults01/otrs,muehlbauer/otrs,linearregression/otrs,eliasp/otrs,mburggraf/otrs,mburggraf/otrs,PortgasDAce/otrs,StCyr/otrs,muehlbauer/otrs,mburggraf/otrs,moritz/otrs,thorsteneckel/otrs,StCyr/otrs,mbeijen/otrs-1,moritz/otrs,linearregression/otrs,nilei/otrs,crythias/otrs,noritnk/otrs,brandonshults01/otrs,nilei/otrs,StCyr/otrs,balazj/otrs,mburggraf/otrs,balazj/otrs,MBRG/otrs,rudy500/otrs,mburggraf/otrs,eliasp/otrs,xhoy/otrs,balazj/otrs,vlascoder/otrs,StCyr/otrs,s7design/otrs,oiami/otrs,mbeijen/otrs-1