]> granicus.if.org Git - apache/commitdiff
We have to initialize the error_bucket before we can destroy it.
authorRyan Bloom <rbb@apache.org>
Sun, 26 Aug 2001 03:13:36 +0000 (03:13 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 26 Aug 2001 03:13:36 +0000 (03:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90674 13f79535-47bb-0310-9956-ffa450edef68

server/error_bucket.c

index dc75a3d0db3686f5a763e09d24c532c80517d1e0..460433f5f8d8dd08c54ca36c1d7ce04a1ccd2e94 100644 (file)
@@ -69,7 +69,7 @@ static apr_status_t error_read(apr_bucket *b, const char **str,
 }
 
 static void error_destroy(void *data) {
-    ap_bucket_error *h;
+    ap_bucket_error *h = data;
     apr_sms_free(h->sms, h);
 }