]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-macos-afsd-dont-leak-symbol-20070626
authorDerrick Brashear <shadow@dementia.org>
Tue, 26 Jun 2007 20:11:45 +0000 (20:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 26 Jun 2007 20:11:45 +0000 (20:11 +0000)
avoid leaking a ref to this symbol outside macos code

(cherry picked from commit 17c7ab74613309d1af0b664a81796975ac6f698d)

src/afsd/afsd.c

index 08a8a9bc13bf4ceb75a588a71f80a7afd2346d89..6794431b466c088c99082c37a190e2dabfb0303c 100644 (file)
@@ -1472,7 +1472,9 @@ AfsdbLookupHandler()
            acellName[sizeof(acellName) - 1] = '\0';
        }
     }
+#ifdef AFS_DARWIN_ENV
     kill(event_pid, SIGTERM);
+#endif
     exit(1);
 }
 #endif