summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);