summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-11-25 22:25:21 +0000
committerwtc%netscape.com <devnull@localhost>1998-11-25 22:25:21 +0000
commita425c2d95f591879d819d8d07fd2cd48a6ca7fe3 (patch)
treea61e20a8f69e3e8846197eb9fd73a4751c45b7be
parentdee374614ee533162a42089ae2918bd9b78167c4 (diff)
downloadnspr-hg-a425c2d95f591879d819d8d07fd2cd48a6ca7fe3.tar.gz
Bugzilla bug #1664: removed an unnecessary strdup call inNGT_TECHDEMO_19981125_BASE
NSGetSharedLibrary. Thanks to Patrick Beard <beard@netscape.com> for the bug report.
-rw-r--r--pr/src/md/mac/macdll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/md/mac/macdll.c b/pr/src/md/mac/macdll.c
index 1a06d59e..3ccc4459 100644
--- a/pr/src/md/mac/macdll.c
+++ b/pr/src/md/mac/macdll.c
@@ -110,7 +110,7 @@ NSGetSharedLibrary(Str255 inLibName, CFragConnectionID* outID, Ptr* outMainAddr)
filterData.outAddress = NULL;
filterData.inName = inLibName;
- freeCurLibPath = curLibPath = strdup(PR_GetLibraryPath());
+ freeCurLibPath = curLibPath = PR_GetLibraryPath();
if (curLibPath == NULL)
return (fragLibNotFound);