macos-afsd-dont-leak-symbol-20070626
authorDerrick Brashear <shadow@dementia.org>
Tue, 26 Jun 2007 20:00:26 +0000 (20:00 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 26 Jun 2007 20:00:26 +0000 (20:00 +0000)
avoid leaking a ref to this symbol outside macos code

src/afsd/afsd.c

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