drm: Branch 'master' - 2 commits
[email protected] (Emil Velikov)
| Newsgroups | gmane.comp.video.dri.patches |
|---|---|
| Message-ID | <[email protected]> |
autogen.sh | 6 ++++++ libkms/exynos.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) New commits: commit a07cf7f08d79924ba00fd702230d3e1690eebc5e Author: Seung-Woo Kim <[email protected]> Date: Mon Nov 14 14:31:34 2016 +0900 libkms/exynos: fix memory leak in error path This patch fixes memory leak in error path of exynos_bo_create(). Signed-off-by: Seung-Woo Kim <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> diff --git a/libkms/exynos.c b/libkms/exynos.c index 5de2e5a..0e97fb5 100644 --- a/libkms/exynos.c +++ b/libkms/exynos.c @@ -88,7 +88,8 @@ exynos_bo_create(struct kms_driver *kms, pitch = (pitch + 512 - 1) & ~(512 - 1); size = pitch * ((height + 4 - 1) & ~(4 - 1)); } else { - return -EINVAL; + ret = -EINVAL; + goto err_free; } memset(&arg, 0, sizeof(arg)); commit 0645648dd08942face3cad03bedcdd39e3a6f5fc Author: Emil Velikov <[email protected]> Date: Mon Dec 12 17:50:46 2016 +0000 autogen.sh: set format.subjectPrefix and sendemail.to if needed Just set the rules automatically rather than asking each contributor to update thing locally. v2: Silence errors if run outside of git repo. (Eric) Signed-off-by: Emil Velikov <[email protected] Reviewed-by: Eric Engestrom <[email protected]> diff --git a/autogen.sh b/autogen.sh index c896097..d82ab18 100755 --- a/autogen.sh +++ b/autogen.sh @@ -9,6 +9,12 @@ cd "$srcdir" autoreconf --force --verbose --install || exit 1 cd "$ORIGDIR" || exit $? +git config --local --get format.subjectPrefix || + git config --local format.subjectPrefix "PATCH libdrm" 2>/dev/null + +git config --local --get sendemail.to || + git config --local sendemail.to "[email protected]" 2>/dev/null + if test -z "$NOCONFIGURE"; then "$srcdir"/configure "$@" fi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --