nsIObserverList* observerList = NS_STATIC_CAST(nsIObserverList*, aData); NS_RELEASE(observerList);
nsObserverList* observerList = NS_STATIC_CAST(nsObserverList*, aData); delete(observerList);
ReleaseObserverList(nsHashKey *aKey, void *aData, void* closure){    nsIObserverList* observerList = NS_STATIC_CAST(nsIObserverList*, aData);    NS_RELEASE(observerList);    return PR_TRUE;}