Module: sip-router
Branch: 4.0
Commit: 7165aa39a7894ba45bbe650f2a1658d3db044319
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7165aa3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Apr 21 17:35:39 2014 +0200
db_mysql: remove line accessing freed result
(cherry picked from commit e114105450d8a5152448afd28de16e290297e38d)
(cherry picked from commit 045b6ead1eace226ec316e3ae776f7bc35e54341)
---
modules/db_mysql/km_dbase.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/modules/db_mysql/km_dbase.c b/modules/db_mysql/km_dbase.c
index 151a24a..a43cac8 100644
--- a/modules/db_mysql/km_dbase.c
+++ b/modules/db_mysql/km_dbase.c
@@ -202,7 +202,6 @@ static int db_mysql_store_result(const db1_con_t* _h, db1_res_t** _r)
mysql_free_result(res);
}
#endif
- RES_RESULT(*_r) = 0;
return -4;
}