projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce592c
)
Revert "Fix memory leak pointed out by coverity."
author
Tatsuo Ishii
<ishii@sraoss.co.jp>
Wed, 22 May 2019 07:40:53 +0000
(16:40 +0900)
committer
Tatsuo Ishii
<ishii@sraoss.co.jp>
Wed, 22 May 2019 07:40:53 +0000
(16:40 +0900)
This reverts commit
9ce592cd05b8ea53fef581d2f0373efa39fe8722
.
src/utils/regex_array.c
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/regex_array.c
b/src/utils/regex_array.c
index d8f675e396973d9b975d803151fad5d58f83c3cc..bbb4bc1a9406e65be31d0fd301c22439812371b0 100644
(file)
--- a/
src/utils/regex_array.c
+++ b/
src/utils/regex_array.c
@@
-207,7
+207,6
@@
void extract_string_tokens2(char *str, char *delimi, char delimi2, Left_right_to
if (i == len -1)
{
pfree(mystr);
- pfree(weight_token);
return;
}
@@
-228,7
+227,6
@@
void extract_string_tokens2(char *str, char *delimi, char delimi2, Left_right_to
lrtokens->token[lrtokens->pos].left_token = left_token;
lrtokens->token[lrtokens->pos].right_token = right_token;
lrtokens->pos++;
- pfree(weight_token);
}
pfree(mystr);
}