netutils/webserver: fix memory leak
netutils/webserver: fix memory leak

If a sudden return occurs, a memory leak may occur. This patch modifies
to return previously allocated dynamic memory.

Change-Id: I8071441d56c0329b974349add8a5d5c994233836
Signed-off-by: Junhwan Park <7fee488b6f78fc50b291ffc7d10428788977e877@samsung.com>

JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT,JunhwanPark/TizenRT