kmshttpendpoint: Fix memory leak managing caps
kmshttpendpoint: Fix memory leak managing caps

Change-Id: Ie20eabff58153eed3b3b01bb7b63ad521ba5e746

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