Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2017 16:59:57 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440635 - in head/polish/kadu: . files
Message-ID:  <201705111659.v4BGxvgB031381@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu May 11 16:59:56 2017
New Revision: 440635
URL: https://svnweb.freebsd.org/changeset/ports/440635

Log:
  Fix segfault on program exit

Added:
  head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp   (contents, props changed)
Modified:
  head/polish/kadu/Makefile

Modified: head/polish/kadu/Makefile
==============================================================================
--- head/polish/kadu/Makefile	Thu May 11 16:41:53 2017	(r440634)
+++ head/polish/kadu/Makefile	Thu May 11 16:59:56 2017	(r440635)
@@ -3,7 +3,7 @@
 
 PORTNAME=	kadu
 PORTVERSION=	4.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	polish net-im
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \

Added: head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/polish/kadu/files/patch-kadu-core_gui_actions_action-description.cpp	Thu May 11 16:59:56 2017	(r440635)
@@ -0,0 +1,12 @@
+--- kadu-core/gui/actions/action-description.cpp.orig	2017-01-24 21:36:21 UTC
++++ kadu-core/gui/actions/action-description.cpp
+@@ -103,7 +103,8 @@ void ActionDescription::registerAction(Actions *action
+ 
+ void ActionDescription::unregisterAction(Actions *actions)
+ {
+-	actions->remove(this);
++	if (actions)
++		actions->remove(this);
+ }
+ 
+ void ActionDescription::actionAboutToBeDestroyed(Action *action)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705111659.v4BGxvgB031381>