httpendpoint: Use an auxiliary variable to avoid memory leaks
httpendpoint: Use an auxiliary variable to avoid memory leaks

Change-Id: Ia5c948bcb4fe2f8ddad8924b031f4a74cd3bd56b

shelsonjava/kms-elements,TribeMedia/kms-elements,Kurento/kms-elements,shelsonjava/kms-elements,Kurento/kms-elements,shelsonjava/kms-elements,TribeMedia/kms-elements,Kurento/kms-elements,TribeMedia/kms-elements