Fix leak last commit introduced. Spotted by Sebastian Kapfer.
We do not need a separate file for two compatibility wrapper functions.

ok miod@