[prev in list] [next in list] [prev in thread] [next in thread]
List: bzflag-dev
Subject: [ bzflag-Patches-2895981 ] Mem leak in curses wrapper header file
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2009-12-27 7:41:08
Message-ID: E1NOnkS-0003qf-AD () 665xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Patches item #2895981, was opened at 2009-11-11 06:52
Message generated for change (Comment added) made by dtremenak
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=303248&aid=2895981&group_id=3248
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: BZAdmin
Group: None
> Status: Closed
> Resolution: Accepted
Priority: 5
Private: No
Submitted By: Russell Bryant (russellbryant)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mem leak in curses wrapper header file
Initial Comment:
This small patch addresses a memory leak in some curses wrappers. I'm not sure what \
the main intended purposes of these wrappers are. It looks like they are just to \
deal with cases where waddstr() is not defined to take a const char * argument. So, \
this patch just casts away the const qualifier. (I sure hope no implementation of \
waddstr() would actually modify the string, that would be bizarre!)
----------------------------------------------------------------------
> Comment By: Daniel Remenak (dtremenak)
Date: 2009-12-26 23:41
Message:
Applied to SVN as r20962 (using const_cast<char*> instead of (char*)).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=303248&aid=2895981&group_id=3248
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
BZFlag-dev mailing list
BZFlag-dev@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-dev
irc: #BZFlag @ irc.freenode.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic