diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-21 22:27:09 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-21 22:27:09 +0200 |
commit | 4169af73493781329bb0a65c738babfd9d04cc35 (patch) | |
tree | 7304e79ec15099823f1876e26ccbeb9c2b5752d6 | |
parent | 133fff31878c525287e4d663b075ce3849ceb499 (diff) |
curvetun: use free instead of xfree
Only use xfree where it makes sense, here not really.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | curvetun.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -679,14 +679,10 @@ int main(int argc, char **argv) die(); } - if (dev) - xfree(dev); - if (stun) - xfree(stun); - if (port) - xfree(port); - if (alias) - xfree(alias); + free(dev); + free(stun); + free(port); + free(alias); return ret; } |