New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full stack server fuzzer #6071

Merged
merged 54 commits into from Apr 6, 2016
Commits
Jump to file or symbol
Failed to load files and symbols.
+6 −2
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Fix memory leak (I think)

  • Loading branch information...
ctiller committed Apr 5, 2016
commit 9cac2a12d9e181d130841092e9d40fa3309d7aa7
@@ -685,10 +685,14 @@ static grpc_mdelem *server_filter(void *user_data, grpc_mdelem *md) {
grpc_call_element *elem = user_data;
call_data *calld = elem->call_data;
if (md->key == GRPC_MDSTR_PATH) {
calld->path = GRPC_MDSTR_REF(md->value);
if (calld->path == NULL) {
calld->path = GRPC_MDSTR_REF(md->value);
}
return NULL;
} else if (md->key == GRPC_MDSTR_AUTHORITY) {
calld->host = GRPC_MDSTR_REF(md->value);
if (calld->host == NULL) {
calld->host = GRPC_MDSTR_REF(md->value);
}
return NULL;
}
return md;