diff --git a/netwerk/test/TestProtocols.cpp b/netwerk/test/TestProtocols.cpp index c974f17a46dd..ed4dead3b8c2 100644 --- a/netwerk/test/TestProtocols.cpp +++ b/netwerk/test/TestProtocols.cpp @@ -476,7 +476,7 @@ InputTestConsumer::OnDataAvailable(nsIRequest *request, PR_STATIC_CALLBACK(void) DecrementDestroyHandler(PLEvent *self) { - PR_DELETE(self); + PR_Free(self); }