33 lines
710 B
Diff
33 lines
710 B
Diff
|
|
From dbf4679bef7a972455e4240385670ce69090e072 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Mark Nudelman <markn@greenwoodsoftware.com>
|
||
|
|
Date: Thu, 27 Aug 2020 21:06:51 -0700
|
||
|
|
Subject: [PATCH] Remove extraneous frees, associated with removed calls to
|
||
|
|
lrealpath.
|
||
|
|
---
|
||
|
|
mark.c | 2 --
|
||
|
|
1 file changed, 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/mark.c b/mark.c
|
||
|
|
index 9c53701..7aed54f 100644
|
||
|
|
--- a/mark.c
|
||
|
|
+++ b/mark.c
|
||
|
|
@@ -377,7 +377,6 @@ mark_check_ifile(ifile)
|
||
|
|
free(mark_filename);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
- free(filename);
|
||
|
|
}
|
||
|
|
|
||
|
|
#if CMD_HISTORY
|
||
|
|
@@ -410,7 +409,6 @@ save_marks(fout, hdr)
|
||
|
|
if (strcmp(filename, "-") != 0)
|
||
|
|
fprintf(fout, "m %c %d %s %s\n",
|
||
|
|
m->m_letter, m->m_scrpos.ln, pos_str, filename);
|
||
|
|
- free(filename);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|