diff options
author | okan | 2015-03-28 21:55:48 +0000 |
---|---|---|
committer | okan | 2015-03-28 21:55:48 +0000 |
commit | a90eafcedf3ed6962d40baeaaff7eecd987deb94 (patch) | |
tree | 2742a67ca8f4ccda3b584e14cc9a64304f1f72f2 /xutil.c | |
parent | e06df87fd38b7a9c3e3f0d2d60330dd2e387cf54 (diff) | |
download | cwm-a90eafcedf3ed6962d40baeaaff7eecd987deb94.tar.gz |
plug a leak
Diffstat (limited to 'xutil.c')
-rw-r--r-- | xutil.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |