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

(cherry picked from commit 17c7ab74613309d1af0b664a81796975ac6f698d)

src/afsd/afsd.c

index e39a9b0c710d67cecff62c3c27b024c31c45d958..40a50bae2e7d4dc292fe58f1f2530dfbbe19ab26 100644 (file)
@@ -1476,7 +1476,9 @@ AfsdbLookupHandler()
            acellName[sizeof(acellName) - 1] = '\0';
        }
     }
+#ifdef AFS_DARWIN_ENV
     kill(event_pid, SIGTERM);
+#endif
     exit(1);
 }
 #endif