svn commit: r271091 - stable/9/sys/dev/drm2/radeon

2014-09-04 Thread Jean-Sebastien Pedron
Author: dumbbell
Date: Thu Sep  4 09:49:21 2014
New Revision: 271091
URL: http://svnweb.freebsd.org/changeset/base/271091

Log:
  drm/radeon: Fix a memory leak when radeonkms is unloaded
  
  This an MFC of r270750.

Modified:
  stable/9/sys/dev/drm2/radeon/radeon_fb.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/drm2/radeon/radeon_fb.c
==
--- stable/9/sys/dev/drm2/radeon/radeon_fb.cThu Sep  4 09:42:36 2014
(r271090)
+++ stable/9/sys/dev/drm2/radeon/radeon_fb.cThu Sep  4 09:49:21 2014
(r271091)
@@ -291,6 +291,7 @@ static int radeon_fbdev_destroy(struct d
 
if (rfbdev->helper.fbdev) {
info = rfbdev->helper.fbdev;
+   free(info->fb_priv, DRM_MEM_KMS);
free(info, DRM_MEM_KMS);
}
 
___
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"


svn commit: r271126 - stable/9/sbin/hastd

2014-09-04 Thread Garrett Cooper
Author: ngie
Date: Thu Sep  4 20:07:44 2014
New Revision: 271126
URL: http://svnweb.freebsd.org/changeset/base/271126

Log:
  MFC r270433:
  
Garbage collect libl dependency
  
The application links and runs without libl
  
Approved by: rpaulo (mentor)
Phabric: D673
Submitted by: trociny

Modified:
  stable/9/sbin/hastd/Makefile
Directory Properties:
  stable/9/   (props changed)
  stable/9/sbin/   (props changed)
  stable/9/sbin/hastd/   (props changed)

Modified: stable/9/sbin/hastd/Makefile
==
--- stable/9/sbin/hastd/MakefileThu Sep  4 20:02:28 2014
(r271125)
+++ stable/9/sbin/hastd/MakefileThu Sep  4 20:07:44 2014
(r271126)
@@ -29,8 +29,8 @@ CFLAGS+=-DINET
 CFLAGS+=-DINET6
 .endif
 
-DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
-LDADD= -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil
+DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBPTHREAD} ${LIBUTIL}
+LDADD= -lgeom -lbsdxml -lsbuf -lpthread -lutil
 .if ${MK_OPENSSL} != "no"
 DPADD+=${LIBCRYPTO}
 LDADD+=-lcrypto
___
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"