fixed leak

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>