public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e976e10
)
Fix memory corruption when using -R; the values being stored in the list
author
David Given
<dg@cowlark.com>
Fri, 15 Feb 2019 22:40:42 +0000
(23:40 +0100)
committer
David Given
<dg@cowlark.com>
Fri, 15 Feb 2019 22:40:42 +0000
(23:40 +0100)
weren't freeable when they should have been.
util/ack/trans.c
patch
|
blob
|
history
diff --git
a/util/ack/trans.c
b/util/ack/trans.c
index
235b81f
..
1152dfb
100644
(file)
--- a/
util/ack/trans.c
+++ b/
util/ack/trans.c
@@
-223,7
+223,7
@@
static void set_Rflag(char* argp)
}
else if (*eos == '=')
{
- t_cont(*prog)->t_prog =
eos + 1
;
+ t_cont(*prog)->t_prog =
keeps(eos + 1)
;
}
else
{