diff --git a/profile/src/nsProfile.cpp b/profile/src/nsProfile.cpp index 2fe4b2db022..ec22e231b48 100644 --- a/profile/src/nsProfile.cpp +++ b/profile/src/nsProfile.cpp @@ -2119,6 +2119,5 @@ nsresult nsProfile::CloneProfileDirectorySpec(nsILocalFile **aLocalFile) rv = aFile->QueryInterface(NS_GET_IID(nsILocalFile), (void **)aLocalFile); NS_ENSURE_SUCCESS(rv, rv); - NS_ADDREF(*aLocalFile); return NS_OK; }