Author: adrian.chadd
Date: Sun Feb 1 20:37:25 2009
New Revision: 13773
Modified:
branches/LUSCA_HEAD/src/http.c
Log:
Only deref if the buffer exists!
Modified: branches/LUSCA_HEAD/src/http.c
==============================================================================
--- branches/LUSCA_HEAD/src/http.c (original)
+++ branches/LUSCA_HEAD/src/http.c Sun Feb 1 20:37:25 2009
@@ -97,7 +97,8 @@
}
}
storeUnlockObject(httpState->entry);
- (void) buf_deref(httpState->read_buf);
+ if (httpState->read_buf)
+ (void) buf_deref(httpState->read_buf);
requestUnlink(httpState->request);
requestUnlink(httpState->orig_request);
httpState->request = NULL;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---