projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
os_regex
/
os_regex_free_substrings.c
diff --git
a/src/os_regex/os_regex_free_substrings.c
b/src/os_regex/os_regex_free_substrings.c
index
b96a58b
..
56e61ff
100755
(executable)
--- a/
src/os_regex/os_regex_free_substrings.c
+++ b/
src/os_regex/os_regex_free_substrings.c
@@
-24,11
+24,10
@@
*/
void OSRegex_FreeSubStrings(OSRegex *reg)
{
- int i = 0;
-
/* Freeing the sub strings */
if(reg->sub_strings)
{
+ int i = 0;
while(reg->sub_strings[i])
{
free(reg->sub_strings[i]);