[X2Go-Commits] [x2gokdrive] 01/04: x2gokdrive: free driverPrivates on Fini

git-admin at x2go.org git-admin at x2go.org
Fri Jul 12 20:56:01 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit fd51dfe2bb45c16e12ad69296af0ee7a7cd8fb60
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jul 12 19:18:10 2019 +0200

    x2gokdrive: free driverPrivates on Fini
    
        Backported from X.Org:
    
        commit 6828645916505a5925db5c2c2e816fee4e1050e5
        Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
        Date:   Sat Nov 4 23:06:28 2017 +0100
    
            Xephyr: free driverPrivates on Fini
    
            Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
    
        Backported-to-X2GoKdrive-by: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
---
 x2gokdrive.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x2gokdrive.c b/x2gokdrive.c
index 14f3419..d520a4a 100644
--- a/x2gokdrive.c
+++ b/x2gokdrive.c
@@ -1439,6 +1439,7 @@ MouseDisable(KdPointerInfo * pi)
 static void
 MouseFini(KdPointerInfo * pi)
 {
+    free(pi->driverPrivate);
     ephyrMouse = NULL;
     return;
 }
@@ -1508,6 +1509,7 @@ EphyrKeyboardDisable(KdKeyboardInfo * ki)
 static void
 EphyrKeyboardFini(KdKeyboardInfo * ki)
 {
+    free(ki->driverPrivate);
     ephyrKbd = NULL;
     return;
 }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list