Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Mar 4, 2017
1 parent 45c3e77 commit b6ced26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/jpcre2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3818,9 +3818,7 @@ bool jpcre2::select<Char_T, BS>::RegexMatch::getNamedSubstrings(int namecount, i
value = toString((Char *) buffer);
Pcre2Func<BS>::substring_free(buffer); //must free memory
}

buffer = 0; //we may use this pointer again, better initialize it.


if(ntn_map) {
//Let's get the value again, this time with number
Expand Down

0 comments on commit b6ced26

Please sign in to comment.