24cf63c47a
In JSON-RPC, string is allocated unconditionally in decode operation. Hence if string is allocated in opts_init(), it will be overwritten without any notice. This patch is to keep compatibility to the config file and adjust to the upcoming JSON-RPC for options initialization. Change-Id: I6c16f2af7f34d052aabceb5bc4ebe2fc9d82714a Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/407846 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>