FOGL-1355 Fix small memory leak in purge code and remove string copy that is not required
FOGL-1355 Fix small memory leak in purge code and remove string copy that is not required

foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP