-
- Downloads
Fix potential memory leak
It is better to init jresp as NULL, and allocate new memory when it is
used, this will avoid the memory leak if the function returns during the
process.
Bug-AGL: SPEC-3584
Change-Id: Icb1eae050294f4438ad89739e324c5483b6b3441
Signed-off-by:
Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Please register or sign in to comment