rem: WMDeleteFromBag(queue->asapQueue, 0);
add: WMReleaseNotification(tmp); WMDeleteFromBag(queue->asapQueue, 0);
context: W_FlushASAPNotificationQueue(){    WMNotificationQueue *queue = notificationQueueList;    while (queue) {	while (WMGetBagItemCount(queue->asapQueue)) {	    WMNotification *tmp = WMGetFromBag(queue->asapQueue, 0);	    WMPostNotification(tmp);	    WMDeleteFromBag(queue->asapQueue, 0);	}	queue = queue->next;    }}