diff options
author | Rob Landley <rob@landley.net> | 2006-03-01 16:39:45 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-01 16:39:45 +0000 |
commit | e7c43b66d74ee9902a6732122788a7a16bcfbf18 (patch) | |
tree | ebb8583e9e1265588592614c0b4878daded44125 /archival/dpkg.c | |
parent | 93f2286e6e59dab5eed14b5912a79254031c5a62 (diff) |
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)".
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 70eaefb94..74d3a83d9 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -544,8 +544,7 @@ static void free_package(common_node_t *node) for (i = 0; i < node->num_of_edges; i++) { free(node->edge[i]); } - if ( node->edge ) - free(node->edge); + free(node->edge); free(node); } } |