Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package belle-sip for openSUSE:Factory 
checked in at 2023-03-08 14:53:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/belle-sip (Old)
 and      /work/SRC/openSUSE:Factory/.belle-sip.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "belle-sip"

Wed Mar  8 14:53:42 2023 rev:35 rq:1070097 version:5.2.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/belle-sip/belle-sip.changes      2023-01-29 
14:26:30.416141106 +0100
+++ /work/SRC/openSUSE:Factory/.belle-sip.new.31432/belle-sip.changes   
2023-03-08 14:53:42.455046874 +0100
@@ -1,0 +2,5 @@
+Wed Mar  8 07:09:00 UTC 2023 - Paolo Stivanin <[email protected]>
+
+- Update to 5.2.30 (no changelog)
+
+-------------------------------------------------------------------

Old:
----
  belle-sip-5.2.16.tar.bz2

New:
----
  belle-sip-5.2.30.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ belle-sip.spec ++++++
--- /var/tmp/diff_new_pack.OMb85A/_old  2023-03-08 14:53:43.475052428 +0100
+++ /var/tmp/diff_new_pack.OMb85A/_new  2023-03-08 14:53:43.523052690 +0100
@@ -20,7 +20,7 @@
 %define soname  libbellesip
 %define sover   1
 Name:           belle-sip
-Version:        5.2.16
+Version:        5.2.30
 Release:        0
 Summary:        C object-oriented SIP Stack
 License:        GPL-3.0-or-later

++++++ belle-sip-5.2.16.tar.bz2 -> belle-sip-5.2.30.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belle-sip-5.2.16/include/belle-sip/object++.hh 
new/belle-sip-5.2.30/include/belle-sip/object++.hh
--- old/belle-sip-5.2.16/include/belle-sip/object++.hh  2022-11-04 
17:46:39.000000000 +0100
+++ new/belle-sip-5.2.30/include/belle-sip/object++.hh  2023-02-13 
12:24:02.000000000 +0100
@@ -166,26 +166,24 @@
                        return result;
                }
                //Convenience method for easy std::list<shared_ptr<CppType>> -> 
bctbx_list(CType) conversion
-               //It does not take ownership of the hybrid object, but takes a 
ref.
-               static bctbx_list_t* getCListFromCppList(const 
std::list<std::shared_ptr<_CppType> > &cppList) {
+               //The takeRef bool indicates whether a reference to the objects 
must be taken.
+               static bctbx_list_t* getCListFromCppList(const 
std::list<std::shared_ptr<_CppType> > &cppList, bool takeRef = true) {
                        bctbx_list_t *result = nullptr;
                        for (auto it = cppList.begin(); it != cppList.end(); 
it++) {
                                std::shared_ptr<_CppType> cppPtr = 
static_cast<std::shared_ptr<_CppType>>(*it);
-                               cppPtr->ref();
-                               _CType *cptr = cppPtr->toC();
-                               result = bctbx_list_append(result, cptr);
+                               if (takeRef) cppPtr->ref();
+                               result = bctbx_list_append(result, 
cppPtr->toC());
                        }
                        return result;
                }
                //Convenience method for easy std::list<CppType*> -> 
bctbx_list(CType) conversion
-               //It does not take ownership of the hybrid object, but takes a 
ref.
-               static bctbx_list_t* getCListFromCppList(const 
std::list<_CppType*> &cppList) {
+               //The takeRef bool indicates whether a reference to the objects 
must be taken.
+               static bctbx_list_t* getCListFromCppList(const 
std::list<_CppType*> &cppList, bool takeRef = true) {
                        bctbx_list_t *result = nullptr;
                        for (auto it = cppList.begin(); it != cppList.end(); 
it++) {
                                _CppType *cppPtr = static_cast<_CppType*>(*it);
-                               cppPtr->ref();
-                               _CType *cptr = cppPtr->toC();
-                               result = bctbx_list_append(result, cptr);
+                               if (takeRef) cppPtr->ref();
+                               result = bctbx_list_append(result, 
cppPtr->toC());
                        }
                        return result;
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/belle-sip-5.2.16/src/belle_sip_resolver.c 
new/belle-sip-5.2.30/src/belle_sip_resolver.c
--- old/belle-sip-5.2.16/src/belle_sip_resolver.c       2022-11-04 
17:46:39.000000000 +0100
+++ new/belle-sip-5.2.30/src/belle_sip_resolver.c       2023-02-13 
12:24:02.000000000 +0100
@@ -871,6 +871,7 @@
 static void dns_service_deallocate(belle_sip_simple_resolver_context_t *ctx) {
        if (ctx->dns_service_timer) {
                dispatch_source_cancel(ctx->dns_service_timer);
+               dispatch_release(ctx->dns_service_timer);
                ctx->dns_service_timer = NULL;
        }
        if (ctx->dns_service) {
@@ -960,6 +961,7 @@
 
                                char host[NI_MAXHOST + 1];
                                belle_sip_dns_srv_t * 
b_srv=belle_sip_dns_srv_create_dns_service(rr);
+                               dns_free_resource_record(rr);
                                snprintf(host, sizeof(host), "[target:%s 
port:%d prio:%d weight:%d]", b_srv->target, b_srv->port, b_srv->priority, 
b_srv->weight);
 
                                ctx->srv_list = 
belle_sip_list_insert_sorted(ctx->srv_list, belle_sip_object_ref(b_srv), 
srv_compare_prio);

Reply via email to