This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
MT#55283 use g_free after g_strdup
Change-Id: I4e717e64021a9b88a0f2d2b07f34333e7b13452f
pull/1759/head
Richard Fuchs
2 years ago
parent
ea0d1775f3
commit
1475e19e06
1 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-4
daemon/helpers.c
+ 2
- 4
daemon/helpers.c
View File
@ -107,10 +107,8 @@ int pcre_multi_match(pcre *re, pcre_extra *ree, const char *s, unsigned int num,
if
(
f
(
el
,
&
ins
,
p
)
)
g_queue_push_tail
(
q
,
ins
)
;
for
(
i
=
0
;
i
<
num
;
i
+
+
)
{
if
(
el
[
i
]
)
free
(
el
[
i
]
)
;
}
for
(
i
=
0
;
i
<
num
;
i
+
+
)
g_free
(
el
[
i
]
)
;
}
free
(
el
)
;
Write
Preview
Loading…
Cancel
Save