Re: [patch] memory leak in status.c

2010-03-10 Thread Nicholas Marriott
Good catch, fixed in SF. On Tue, Mar 09, 2010 at 01:22:18PM +0100, greg wrote: > Hi, > > It seems I found a memory leak in tmux. In status_job (status.c), cmd is > allocated and is not released if the command line is parsed without > error. > > If someone uses a low value for status-interval (i

[patch] memory leak in status.c

2010-03-09 Thread greg
Hi, It seems I found a memory leak in tmux. In status_job (status.c), cmd is allocated and is not released if the command line is parsed without error. If someone uses a low value for status-interval (i.e less than 5 seconds) and a long command line for status jobs, memory consumption may increas