diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-04-24 02:19:42 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-04-24 02:19:42 +0000 |
commit | ae537b344d3db4bc17d8a34b33ca107d769b35b4 (patch) | |
tree | ce94326eac5115b96e1c72d612e33e0c543113e4 /app | |
parent | 5f3baa8466213e8da752da4105d30b510157fdb3 (diff) |
fix a memory leak
ok matthieu@
Diffstat (limited to 'app')
-rw-r--r-- | app/ssh-askpass/x11-ssh-askpass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/ssh-askpass/x11-ssh-askpass.c b/app/ssh-askpass/x11-ssh-askpass.c index 56ee7ffc0..649413636 100644 --- a/app/ssh-askpass/x11-ssh-askpass.c +++ b/app/ssh-askpass/x11-ssh-askpass.c @@ -214,6 +214,7 @@ long getResolutionResource(AppInfo *app, char *instanceName, char *className, resolution = DefaultResolution; } } + free(s); return(resolution); } #undef DefaultResolution |