]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc/api: Fix memory cycle: method.base_method <> method
authorFlorian Brosch <flo.brosch@gmail.com>
Tue, 7 Aug 2012 00:19:11 +0000 (02:19 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Tue, 7 Aug 2012 00:19:11 +0000 (02:19 +0200)
src/libvaladoc/api/method.vala

index e776c7d61913f69bee922d5beec588f5c88dd4a9..0a142e3d2021485062f1bedd4f7e938f2b0d092d 100644 (file)
@@ -77,7 +77,7 @@ public class Valadoc.Api.Method : Member {
        /**
         * Specifies the virtual or abstract method this method overrides.
         */
-       public Method? base_method {
+       public weak Method? base_method {
                set;
                get;
        }