aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2015-03-28 21:55:48 +0000
committerokan2015-03-28 21:55:48 +0000
commita90eafcedf3ed6962d40baeaaff7eecd987deb94 (patch)
tree2742a67ca8f4ccda3b584e14cc9a64304f1f72f2
parente06df87fd38b7a9c3e3f0d2d60330dd2e387cf54 (diff)
downloadcwm-a90eafcedf3ed6962d40baeaaff7eecd987deb94.tar.gz
plug a leak
Diffstat (limited to '')
-rw-r--r--xutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 8cd5d07..4529075 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xutil.c,v 1.97 2015/01/19 14:54:16 okan Exp $
+ * $OpenBSD: xutil.c,v 1.98 2015/03/28 21:55:48 okan Exp $
*/
#include <sys/types.h>
@@ -332,6 +332,7 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc)
XChangeProperty(X_Dpy, sc->rootwin, ewmh[_NET_DESKTOP_NAMES],
cwmh[UTF8_STRING], 8, PropModeReplace, (unsigned char *)p, len);
+ free(p);
}
/* Application Window Properties */