host-pdr: fix entities memory leak in mergeEntityAssociations

Free the entities buffer allocated by
pldm_entity_association_pdr_extract() when pNode is null to avoid memory
leak.

Change-Id: I6357c19f1efc6c511595a3952ae9f6a83f8b25f7
Signed-off-by: Ravi Teja <rbailapu@qti.qualcomm.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp
index 5157182..ba8e6f2 100644
--- a/host-bmc/host_pdr_handler.cpp
+++ b/host-bmc/host_pdr_handler.cpp
@@ -292,6 +292,7 @@
         }
         if (!pNode)
         {
+            free(entities);
             return;
         }