If ctdbFreeRecord() was called while the record had an active record set, memory holding the partial key was leaked. Logic has been modified to correct this.
Note: An application that explicitly called ctdbRecordSetOff() before freeing the record handle would free this memory.