prima: Avoid Memory leak in HDD during scan

After providing cached scan results for scan request received
within deferred scan time interval, release allocated memory to avoid
memory leak.

Change-Id: I8e5563dc8a4c015170fcc3c1f81a169b2ca979a1
CRs-Fixed: 790472
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index 27730e6..cb2bba9 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -10167,13 +10167,15 @@
                                         pAdapter);
 
                 hddLog(VOS_TRACE_LEVEL_WARN,
-                    "Return old cached scan as all channels"
-                    "and no of channles are same");
+                    "Return old cached scan as all channels and no of channels are same");
+
                 if (0 > ret)
                     hddLog(VOS_TRACE_LEVEL_INFO, "%s: NO SCAN result", __func__);
 
                 cfg80211_scan_done(request, eCSR_SCAN_SUCCESS);
-                return eHAL_STATUS_SUCCESS ;
+
+                status = eHAL_STATUS_SUCCESS;
+                goto free_mem;
             }
         }
     }