* Added a pthread_attr_destroy() in the appropriate place (thanks fleeb!)
authorArt Cancro <ajc@citadel.org>
Sun, 3 Oct 2004 02:56:35 +0000 (02:56 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 3 Oct 2004 02:56:35 +0000 (02:56 +0000)
webcit/ChangeLog
webcit/webserver.c

index ac896a386374e2b09ea7a69507775aa133f38457..50fe8974729a474afcd97973ac6163d5d418836a 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 524.3  2004/10/03 02:56:35  ajc
+* Added a pthread_attr_destroy() in the appropriate place (thanks fleeb!)
+
 Revision 524.2  2004/10/01 16:23:23  ajc
 * Set up framework for "notes" view, and added a skeleton function for
   the actual display.
@@ -2087,3 +2090,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index e6c7e45f35505f88f0a8286bc7a1b1fae58a6dee..34b49793f721bb3d7172813dcbfa79741a83f4d4 100644 (file)
@@ -245,6 +245,9 @@ void spawn_another_worker_thread() {
                lprintf(1, "Can't create thread: %s\n",
                        strerror(errno));
        }
+
+       /* free up the attributes */
+       pthread_attr_destroy(&attr);
 }
 
 /*