Revert "i#64348 basic: fix CDec() crash if string is empty"

This reverts commit 375b01bf747bb206c3fd6bad0acbd38271a8fb86.
i#64348 basic: fix CDec() crash if string is empty

This time without memory leak.

Change-Id: If4474004124b7497b8451030a13db36887ead737