Mem leak fix: free index structure pointer itself not just its members
Free memory allocated temporarily for the key in qhashtbl.get()
Mem leak fix: free temporary structures in common read layer