geanygendoc: Plug a possible memory leak