summaryrefslogtreecommitdiffstats
path: root/pcitool
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 20:31:14 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 20:31:14 +0200
commitea28e2990ae59e21856d9ae0311cec5b5415237b (patch)
treed4b71d8880c9d6613a512f2a950b0508f5192858 /pcitool
parent86cca494757d4911041367c5d1d3a86395a541f5 (diff)
downloadpcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.gz
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.bz2
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.xz
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.zip
end of modifications
Diffstat (limited to 'pcitool')
-rw-r--r--pcitool/cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcitool/cli.c b/pcitool/cli.c
index e0aaf28..2628eaa 100644
--- a/pcitool/cli.c
+++ b/pcitool/cli.c
@@ -1,7 +1,6 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 200112L
#define _BSD_SOURCE
-#define _DEFAULT_SOURCE
#include <stdio.h>
#include <stdlib.h>
@@ -3395,6 +3394,8 @@ int main(int argc, char **argv) {
pcilib_close(handle);
if (data != argv + optind) free(data);
+
+ pcilib_clean_xml(handle);
return err;
}