af_pan: fix memleak of arg