Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, DotBot, Google, Yandex

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
622
ignatius
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » Slight memory leak
Forum Rules | Mark all | Recent Posts

Slight memory leak
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 21, 2008, 9:55 am   Last edited Jun 21, 2008, 11:18 am by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

in act_move.c function decorate_room find
   room->name = STRALLOC( "In a virtual room" );
   room->description = STRALLOC( "You're on a pathway.\r\n" );

   room->name = STRALLOC( sect_names[sector][0] );

as you can tell its strallocing the name twice.
change it to this (if you want to or fix it some other way)
   room->description = STRALLOC( "You're on a pathway.\r\n" );
   room->name = STRALLOC( sect_names[sector][0] );

I guess they want the later one lol, but one never knows :)
       
Pages:<< prev 1 next >>