From ed4ad1c0dd68fcc4803fc48f164c871f2d24c032 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 4 Aug 2012 16:03:08 +0200 Subject: [PATCH] plotit.c #3/9, drop some comments --- src/frontend/plotting/plotit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index 7afcb8652..fc74e7cce 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -262,14 +262,14 @@ plotit(wordlist *wl, char *hcopy, char *devname) /* First get the command line, without the limits. Wii be used for zoomed windows */ wwl = wl_copy(wl); - xynull = getlims(wwl, "xl", 2); /* (void) getlims(wwl, "xl", 2); */ - tfree(xynull); /*memory leak, if return value is not freed */ + xynull = getlims(wwl, "xl", 2); + tfree(xynull); xynull = getlims(wwl, "xlimit", 2); - tfree(xynull); /*memory leak, if return value is not freed */ + tfree(xynull); xynull = getlims(wwl, "yl", 2); - tfree(xynull); /*memory leak, if return value is not freed */ + tfree(xynull); xynull = getlims(wwl, "ylimit", 2); - tfree(xynull); /*memory leak, if return value is not freed */ + tfree(xynull); /* remove tile, xlabel, ylabel */ nxlabel = getword(wwl, "xlabel"); nylabel = getword(wwl, "ylabel");