[libglib-object-introspection-perl] 05/07: Avoid a segfault in an error branch
Intrigeri
intrigeri at moszumanska.debian.org
Mon Apr 27 09:09:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag rel-0-02-9
in repository libglib-object-introspection-perl.
commit 7fdc5df8ca2dbaa6d26c1ccf2549e253c104a80f
Author: Torsten Schönfeld <kaffeetisch at gmx.de>
Date: Fri Mar 6 17:34:41 2015 +0100
Avoid a segfault in an error branch
In Glib::Object::Introspection::_construct_boxed.
---
GObjectIntrospection.xs | 1 -
1 file changed, 1 deletion(-)
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index 1a2e81d..e3f0028 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -617,7 +617,6 @@ _construct_boxed (class, package)
repository = g_irepository_get_default ();
info = g_irepository_find_by_gtype (repository, gtype);
if (!info) {
- g_base_info_unref (info);
ccroak ("Could not fetch information for package %s; "
"perhaps it has not been loaded via "
"Glib::Object::Introspection?",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libglib-object-introspection-perl.git
More information about the Pkg-perl-cvs-commits
mailing list