|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #50463] gsvd implementation uses functions removed from lapack >= 3.6.0 |
Date: | Tue, 30 Jan 2018 13:44:26 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #37, bug #50463 (project octave): Your patch includes the following lines: diff --git a/liboctave/util/oct-shlib.h b/liboctave/util/oct-shlib.h --- a/liboctave/util/oct-shlib.h +++ b/liboctave/util/oct-shlib.h @@ -123,8 +123,7 @@ namespace octave ~dynamic_library (void) { - if (--rep->count == 0) - delete rep; + rep->count--; } dynamic_library (const dynamic_library& sl) Doesn't that cause a memory leak when (for example) loading and unloading .oct files? Why was this change made? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50463> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |