[Pkg-voip-commits] r8013 - in /opensips/trunk/debian: changelog patches/00list patches/01_fix_usrloc_memleak.dpatch

jesusch-guest at alioth.debian.org jesusch-guest at alioth.debian.org
Thu Feb 4 13:53:21 UTC 2010


Author: jesusch-guest
Date: Thu Feb  4 13:53:20 2010
New Revision: 8013

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8013
Log:
opensips:
 * Fixed memleak issue for usrloc

Added:
    opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch   (with props)
Modified:
    opensips/trunk/debian/changelog
    opensips/trunk/debian/patches/00list

Modified: opensips/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/changelog?rev=8013&op=diff
==============================================================================
--- opensips/trunk/debian/changelog (original)
+++ opensips/trunk/debian/changelog Thu Feb  4 13:53:20 2010
@@ -1,8 +1,12 @@
 opensips (1.6.1-1) UNRELEASED; urgency=low
 
+  [ Alejandro Rios P. ]
   * NOT RELEASED YET
   * New upstream version.
   * Debian man-pages where included by upstream.
+
+  [ Bjoern Boschman ]
+  * Added memleak patch for usrloc
 
  -- Alejandro Rios P. <alerios at debian.org>  Tue, 22 Dec 2009 00:09:21 -0500
 

Modified: opensips/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/patches/00list?rev=8013&op=diff
==============================================================================
--- opensips/trunk/debian/patches/00list (original)
+++ opensips/trunk/debian/patches/00list Thu Feb  4 13:53:20 2010
@@ -1,1 +1,4 @@
 # No patches right now
+
+# Beside this one :)
+01_fix_usrloc_memleak.dpatch

Added: opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch?rev=8013&op=file
==============================================================================
--- opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch (added)
+++ opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch Thu Feb  4 13:53:20 2010
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_memleak.dpatch by  <jesusch at jes-o-x2>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/modules/usrloc/udomain.c trunk/modules/usrloc/udomain.c
+--- trunk~/modules/usrloc/udomain.c	2009-12-21 18:35:08.000000000 +0100
++++ trunk/modules/usrloc/udomain.c	2010-02-04 14:33:46.000000000 +0100
+@@ -695,7 +695,10 @@
+ 
+ 			/* Remove the entire record if it is empty */
+ 			if (ptr->contacts == 0) 
++			{
+ 				iterator_delete(&prev);
++				free_urecord(ptr);
++			}
+ 		}
+ 		
+ 		unlock_ulslot(_d, i);

Propchange: opensips/trunk/debian/patches/01_fix_usrloc_memleak.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-voip-commits mailing list