This will add support for Ubuntu Xenial. This is my first PR for kamailio so any feedback is welcome.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/784
-- Commit Summary --
* pkg/kamailio/deb: Add Ubuntu Xenial support
-- File Changes --
A pkg/kamailio/deb/debian/backports/xenial (16)
A pkg/kamailio/deb/xenial/changelog (307)
A pkg/kamailio/deb/xenial/compat (1)
A pkg/kamailio/deb/xenial/control (680)
A pkg/kamailio/deb/xenial/copyright (335)
A pkg/kamailio/deb/xenial/debian (1)
A pkg/kamailio/deb/xenial/kamailio-autheph-modules.lintian-overrides (1)
A pkg/kamailio/deb/xenial/kamailio-berkeley-bin.dirs (1)
A pkg/kamailio/deb/xenial/kamailio-dnssec-modules.lintian-overrides (1)
A pkg/kamailio/deb/xenial/kamailio-outbound-modules.lintian-overrides (1)
A pkg/kamailio/deb/xenial/kamailio-tls-modules.lintian-overrides (1)
A pkg/kamailio/deb/xenial/kamailio-websocket-modules.lintian-overrides (1)
A pkg/kamailio/deb/xenial/kamailio.README.Debian (39)
A pkg/kamailio/deb/xenial/kamailio.default (28)
A pkg/kamailio/deb/xenial/kamailio.examples (1)
A pkg/kamailio/deb/xenial/kamailio.init (163)
A pkg/kamailio/deb/xenial/kamailio.lintian-overrides (2)
A pkg/kamailio/deb/xenial/kamailio.postinst (24)
A pkg/kamailio/deb/xenial/kamailio.service (21)
A pkg/kamailio/deb/xenial/rules (229)
A pkg/kamailio/deb/xenial/source.lintian-overrides (1)
A pkg/kamailio/deb/xenial/source/format (1)
A pkg/kamailio/deb/xenial/watch (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/784.patchhttps://github.com/kamailio/kamailio/pull/784.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/784
Module: kamailio
Branch: master
Commit: 0c36c1b62efef176ae6e9322f14096e3a63ed348
URL: https://github.com/kamailio/kamailio/commit/0c36c1b62efef176ae6e9322f14096e…
Author: Phil Lavin <phil(a)lavin.me.uk>
Committer: Phil Lavin <phil(a)lavin.me.uk>
Date: 2016-09-19T21:27:54+01:00
presence: Fix memory leak in DB code
---
Modified: modules/presence/presentity.c
---
Diff: https://github.com/kamailio/kamailio/commit/0c36c1b62efef176ae6e9322f14096e…
Patch: https://github.com/kamailio/kamailio/commit/0c36c1b62efef176ae6e9322f14096e…
---
diff --git a/modules/presence/presentity.c b/modules/presence/presentity.c
index d81b90e..e601153 100644
--- a/modules/presence/presentity.c
+++ b/modules/presence/presentity.c
@@ -396,9 +396,11 @@ int delete_presentity_if_dialog_id_exists(presentity_t* presentity, char* dialog
if(result == NULL)
return -3;
- // No results from query definitely means no dialog exists
- if (result->n <= 0)
+ /* no results from query definitely means no dialog exists */
+ if (result->n <= 0) {
+ pa_dbf.free_result(pa_db, result);
return 0;
+ }
// Loop the rows returned from the DB
for (i=0; i < result->n; i++)
Module: kamailio
Branch: 4.4
Commit: 1c740e85cabe62dec9314589dd0cb0141ffd1010
URL: https://github.com/kamailio/kamailio/commit/1c740e85cabe62dec9314589dd0cb01…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-09-19T20:59:26+02:00
presence: free db result when get_dialog_state() retrieves no rows
- db result and columns in the query are allocated
(cherry picked from commit 7289417c39939f61ea116fe8dc8d23cdea6401be)
---
Modified: modules/presence/presentity.c
---
Diff: https://github.com/kamailio/kamailio/commit/1c740e85cabe62dec9314589dd0cb01…
Patch: https://github.com/kamailio/kamailio/commit/1c740e85cabe62dec9314589dd0cb01…
---
diff --git a/modules/presence/presentity.c b/modules/presence/presentity.c
index b5d7b65..d81b90e 100644
--- a/modules/presence/presentity.c
+++ b/modules/presence/presentity.c
@@ -503,9 +503,11 @@ int get_dialog_state(presentity_t* presentity, char** state)
if(result == NULL)
return -3;
- // No results from query definitely means no dialog exists
- if (result->n <= 0)
+ /* no results from query definitely means no dialog exists */
+ if (result->n <= 0) {
+ pa_dbf.free_result(pa_db, result);
return 0;
+ }
// Loop the rows returned from the DB
for (i=0; i < result->n; i++)
Module: kamailio
Branch: master
Commit: 7289417c39939f61ea116fe8dc8d23cdea6401be
URL: https://github.com/kamailio/kamailio/commit/7289417c39939f61ea116fe8dc8d23c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-09-19T20:58:31+02:00
presence: free db result when get_dialog_state() retrieves no rows
- db result and columns in the query are allocated
---
Modified: modules/presence/presentity.c
---
Diff: https://github.com/kamailio/kamailio/commit/7289417c39939f61ea116fe8dc8d23c…
Patch: https://github.com/kamailio/kamailio/commit/7289417c39939f61ea116fe8dc8d23c…
---
diff --git a/modules/presence/presentity.c b/modules/presence/presentity.c
index b5d7b65..d81b90e 100644
--- a/modules/presence/presentity.c
+++ b/modules/presence/presentity.c
@@ -503,9 +503,11 @@ int get_dialog_state(presentity_t* presentity, char** state)
if(result == NULL)
return -3;
- // No results from query definitely means no dialog exists
- if (result->n <= 0)
+ /* no results from query definitely means no dialog exists */
+ if (result->n <= 0) {
+ pa_dbf.free_result(pa_db, result);
return 0;
+ }
// Loop the rows returned from the DB
for (i=0; i < result->n; i++)