Fix for memory leak
Fix for memory leak

oktal/pistache,oktal/rest,oktal/pistache,RossRogers/pistache,oktal/pistache,oktal/rest,oktal/pistache,RossRogers/pistache,RossRogers/pistache,RossRogers/pistache,oktal/pistache,oktal/rest,oktal/rest