Changeset eaedfba for functions.c


Ignore:
Timestamp:
Oct 23, 2010, 3:26:36 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
e45d9f4
Parents:
a04218c
Message:
Don't leak messages in owl_function_makemsg

Just give the msgwin the memory we allocated instead of copying and
deleting things.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r811644f reaedfba  
    34073407
    34083408  owl_function_debugmsg("makemsg: %s", str);
    3409   owl_msgwin_set_text(&g.msgwin, str);
     3409  owl_msgwin_set_text_nocopy(&g.msgwin, str);
    34103410}
    34113411
Note: See TracChangeset for help on using the changeset viewer.