Fixed CID-60852: Pointer to local outside scope

Pointer to local outside scope:
`key` points to an out-of-scope variable `numbuf` :]