Stap's own `-DDEBUG_MEM` can detecth such memory leaks. Will fix in a patch shortly.
Fixed in commit 9bddc97bd2d.