Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15287
| Path | csiph.com!goblin3!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | fireshen <shenyining@huawei.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: memleak in execute_function? |
| Date | Wed, 31 Jul 2019 17:57:28 -0700 (MST) |
| Lines | 13 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.397.1564621014.1985.bug-bash@gnu.org> (permalink) |
| References | <1564586812344-0.post@n7.nabble.com> <a691cf27-9017-5a0d-915b-c15b2765f591@case.edu> <1564621048237-0.post@n7.nabble.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1564621014 10737 209.51.188.17 (1 Aug 2019 00:56:54 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | Bug-bash@gnu.org |
| Envelope-to | Bug-bash@gnu.org |
| In-Reply-To | <a691cf27-9017-5a0d-915b-c15b2765f591@case.edu> |
| X-detected-operating-system | by eggs.gnu.org: Mac OS X [generic] |
| X-Received-From | 162.253.133.57 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <1564621048237-0.post@n7.nabble.com> |
| X-Mailman-Original-References | <1564586812344-0.post@n7.nabble.com> <a691cf27-9017-5a0d-915b-c15b2765f591@case.edu> |
| Xref | csiph.com gnu.bash.bug:15287 |
Show key headers only | View raw
Yeah, I agree with your opinion, in the branch "if (subshell == 0) ", we have the function "maybe_restore_getopt_state" to free gs; however, in the branch "else", it seems like forget to free "gs", or we don't have to free it? -- Sent from: http://gnu-bash.2382.n7.nabble.com/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: memleak in execute_function? fireshen <shenyining@huawei.com> - 2019-07-31 17:57 -0700
csiph-web