summaryrefslogtreecommitdiff
path: root/src/import/pull-dkr.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-07-31 20:17:33 +0200
committerDaniel Mack <github@zonque.org>2015-07-31 20:17:33 +0200
commit6f7897f9d2bd5ec7d6a9be8ad700661bb17a21cf (patch)
treef03d3e452e8433c350616f6ffc7d28b08bd23335 /src/import/pull-dkr.c
parent97d09a62836e1c6f807837cf47e83c970cecb06b (diff)
parent97b11eedff9d2e17101ad453caf9e48b73246719 (diff)
Merge pull request #814 from dvdhrm/mfree
tree-wide: introduce mfree()
Diffstat (limited to 'src/import/pull-dkr.c')
-rw-r--r--src/import/pull-dkr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/import/pull-dkr.c b/src/import/pull-dkr.c
index 67ca1ce8e4..c918f43446 100644
--- a/src/import/pull-dkr.c
+++ b/src/import/pull-dkr.c
@@ -592,8 +592,7 @@ static int dkr_pull_pull_layer_v2(DkrPull *i) {
i->current_ancestry++;
- free(path);
- path = NULL;
+ path = mfree(path);
}
log_info("Pulling layer %s...", layer);
@@ -652,8 +651,7 @@ static int dkr_pull_pull_layer(DkrPull *i) {
i->current_ancestry++;
- free(path);
- path = NULL;
+ path = mfree(path);
}
log_info("Pulling layer %s...", layer);