From a91ae082e3ff251b44a7ee64736f8a289d91e24c Mon Sep 17 00:00:00 2001 From: "toshok%netscape.com" Date: Fri, 31 Jul 1998 03:11:30 +0000 Subject: [PATCH] plug memory leak. --- cmd/xfe/selection.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/xfe/selection.c b/cmd/xfe/selection.c index 1abd70a77c6..a4a4f443a3b 100644 --- a/cmd/xfe/selection.c +++ b/cmd/xfe/selection.c @@ -1147,6 +1147,8 @@ fe_OwnSelection (MWContext *context, Time time, Boolean clip_p) fe_OwnPrimarySelection(mainw, time, text, NULL, NULL, 0, context); } + + if (text) XP_FREE(text); } void