Add a pair of functions that will associate and free memory based on a 'key'.
This is typically used to assign memory which must be freed when a parent is freed (like extra memory associated with a cursor)
Authored by: mikeaubury 2006-06-19
Parent: [r8681]
Child: [r8683]