Skip to content
Snippets Groups Projects
Commit 8f4f6e20 authored by Craig Tiller's avatar Craig Tiller
Browse files

Check for null pointer

parent 7a9d7924
No related branches found
No related tags found
No related merge requests found
......@@ -896,7 +896,7 @@ void grpc_call_initial_metadata_complete(grpc_call_element *surface_element) {
}
static void finish_read_event(void *p, grpc_op_error error) {
grpc_byte_buffer_destroy(p);
if (p) grpc_byte_buffer_destroy(p);
}
static void finish_read(grpc_call *call, grpc_op_error error, void *tag) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment