summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AuDispose.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/AuDispose.c b/AuDispose.c
index 2a9b2f1..355224d 100644
--- a/AuDispose.c
+++ b/AuDispose.c
@@ -34,9 +34,9 @@ void
XauDisposeAuth (Xauth *auth)
{
if (auth) {
- if (auth->address) (void) free (auth->address);
- if (auth->number) (void) free (auth->number);
- if (auth->name) (void) free (auth->name);
+ free (auth->address);
+ free (auth->number);
+ free (auth->name);
if (auth->data) {
(void) bzero (auth->data, auth->data_length);
(void) free (auth->data);