mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
FS-3386 Jeff Lenk found this one, Good Catch!
This commit is contained in:
1 parent
ec54acb738
commit
e420e17f84
2 files changed
+2
-4
No files matched your search
@@ -311,7 +311,6 @@ ESL_DECLARE(esl_status_t) esl_event_del_header_val(esl_event_t *event, const cha
|
||||
|
||||
if (hp->idx) {
|
||||
int i = 0;
|
||||
hp->value = NULL;
|
||||
|
||||
for (i = 0; i < hp->idx; i++) {
|
||||
FREE(hp->array[i]);
|
||||
@@ -642,7 +641,7 @@ ESL_DECLARE(void) esl_event_destroy(esl_event_t **event)
|
||||
|
||||
if (this->idx) {
|
||||
int i = 0;
|
||||
this->value = NULL;
|
||||
|
||||
for (i = 0; i < this->idx; i++) {
|
||||
FREE(this->array[i]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user