bsdgrep: correct test sense from r317700
Kyle's change in review D10098 was correct. I introduced the error when extracting a portion of that change.
This commit is contained in:
parent
e0780d5479
commit
a535623c78
@ -715,7 +715,7 @@ badpat:
|
||||
if (fg->wescmap != NULL)
|
||||
{
|
||||
fg->escmap = calloc(fg->len, sizeof(bool));
|
||||
if (fg->escmap != NULL)
|
||||
if (fg->escmap == NULL)
|
||||
{
|
||||
tre_free_fast(fg);
|
||||
return REG_ESPACE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user