Changeset 3e328b8 for commands.c


Ignore:
Timestamp:
Jul 21, 2009, 8:28:55 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8966889
Parents:
42c2a80
git-author:
Anders Kaseorg <andersk@mit.edu> (07/21/09 20:27:49)
git-committer:
Anders Kaseorg <andersk@mit.edu> (07/21/09 20:28:55)
Message:
owl_command_punt_unpunt: Plug memory leak.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r42c2a80 r3e328b8  
    24502450    }
    24512451    text = owl_sprintf("filter %s", argv[1]);
     2452    owl_function_punt(text, unpunt);
     2453    owl_free(text);
    24522454  } else {
    2453     text = skiptokens(buff, 1);
    2454   }
    2455 
    2456   owl_function_punt(text, unpunt);
     2455    owl_function_punt(skiptokens(buff, 1), unpunt);
     2456  }
    24572457}
    24582458
Note: See TracChangeset for help on using the changeset viewer.