rem: delete (PartitionMap*)partition->content_cookie;
add: pm_free_identify_partition_cookie(partition, partition->content_cookie);
context: pm_free_partition_content_cookie(partition_data *partition){	if (partition && partition->content_cookie) {		delete (PartitionMap*)partition->content_cookie;		partition->content_cookie = NULL;	}}