octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56637] Access of a nested structure -> memory


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #56637] Access of a nested structure -> memory leak in mex function
Date: Tue, 16 Jul 2019 04:02:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36

Follow-up Comment #1, bug #56637 (project octave):

There was a reply by George to this issue

> I think you're not allocating any memory to both pointers, hence the leak.
You should use a function like Malloc() in the pointer declaration.
> Best regards,
> George

https://lists.gnu.org/archive/html/octave-maintainers/2019-07/msg00037.html

Do you allocate memory for your pointers?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56637>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]