Submit #2778
closed[PATCH 0/3] lib/libhammer: fix minor memory leaks and cleanups
Description
These series of patches for libhammer do the followings.
---
From: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Date: Sun, 25 Jan 2015 22:38:50 +0900
Subject: [PATCH 1/3] lib/libhammer: fix minor memory leaks
This patch fixes minor memory leaks of libhammer.
hunk1: This isn't necessary since it never gets here.
_libhammer_malloc() exit(1) if it failed to calloc().
hunk2: Add missing close(fd).
hunk3: Add missing free(mntbuf).
---
From: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Date: Sun, 25 Jan 2015 22:41:59 +0900
Subject: [PATCH 2/3] lib/libhammer: cleanups
This patch has some minor cleanups of libhammer.
hunk1: Remove parentheses
hunk2: Remove parentheses
hunk3: Remove forward declaration of obsolete function.
find_pfs_mount() was re-implemented as a part of libhammer
and commit 4f09feab replaces it with libhammer version.
---
From: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Date: Sun, 25 Jan 2015 23:13:04 +0900
Subject: [PATCH 3/3] lib/libhammer: cleanups
Using pointer dereference instead of several mntbuf[curmount].f_xxx
makes code clear and also makes lines fit within 80 characters.
Files
Updated by tuxillo almost 10 years ago
- Status changed from New to Closed
- Assignee set to tuxillo
- Target version set to 4.2
Hi,
All pushed to master. Thanks!
Cheers,
Antonio Huete