free_nfs_cb_data: add assert(data->free_continue_data)
Non-debug builds will trip over the nullptr too - do we rather want to leak the memory there? Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>libnfs-4.0.0-vitalif
parent
6b1f14ca01
commit
206a2ff644
|
@ -532,6 +532,7 @@ void free_nfs_cb_data(struct nfs_cb_data *data)
|
|||
}
|
||||
|
||||
if (data->continue_data != NULL) {
|
||||
assert(data->free_continue_data);
|
||||
data->free_continue_data(data->continue_data);
|
||||
data->continue_data = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue