diff options
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r-- | libglusterfs/src/call-stub.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c index 42ebca6b3cc..99371ce8ff8 100644 --- a/libglusterfs/src/call-stub.c +++ b/libglusterfs/src/call-stub.c @@ -2360,32 +2360,9 @@ out: static void call_stub_wipe_args (call_stub_t *stub) { - loc_wipe (&stub->args.loc); - - loc_wipe (&stub->args.loc2); - - if (stub->args.fd) - fd_unref (stub->args.fd); - - GF_FREE ((char *)stub->args.linkname); - - GF_FREE (stub->args.vector); - - if (stub->args.iobref) - iobref_unref (stub->args.iobref); - - if (stub->args.xattr) - dict_unref (stub->args.xattr); - - GF_FREE ((char *)stub->args.name); - - GF_FREE ((char *)stub->args.volume); - - if (stub->args.xdata) - dict_unref (stub->args.xdata); + args_wipe (&stub->args); } - static void call_stub_wipe_args_cbk (call_stub_t *stub) { |