delete initContext->browserObject; initContext->browserObject = NULL;
Java_org_mozilla_webclient_wrapper_1native_WindowControlImpl_nativeDestroyInitContext(JNIEnv *env, jobject obj, jint webShellPtr){ 	WebShellInitContext* initContext = (WebShellInitContext *) webShellPtr;		    	if (initContext == NULL) {		::util_ThrowExceptionToJava(env, "Exception: null webShellPtr passed to nativeDestroyInitContext");		return;	}	initContext->parentHWnd = NULL;	initContext->env = NULL;	initContext->wcharURL = NULL;       if (NULL != initContext->nativeEventThread) {        ::util_DeleteGlobalRef(env, initContext->nativeEventThread);        initContext->nativeEventThread = NULL;    }    initContext->initComplete = FALSE;    initContext->initFailCode = 0;    initContext->x = -1;    initContext->y = -1;    initContext->w = -1;    initContext->h = -1;        delete initContext;  }