Bug fix: memory leak on a GET .

Signed-off-by: David Navarro <david.navarro@intel.com>