when destroying a udp rpc context, free any udp_dest data we may have
parent
fd59fd0da3
commit
7ff2f3a01d
|
@ -148,6 +148,11 @@ void rpc_destroy_context(struct rpc_context *rpc)
|
|||
rpc->error_string = NULL;
|
||||
}
|
||||
|
||||
if (rpc->udp_dest != NULL) {
|
||||
free(rpc->udp_dest);
|
||||
rpc->udp_dest = NULL;
|
||||
}
|
||||
|
||||
free(rpc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue