summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugin.sh
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-03-16 17:27:48 +0100
committerDavid Howells <dhowells@redhat.com>2017-03-16 17:27:48 +0100
commit6d06b0d25209c80e99c1e89700f1e09694a3766b (patch)
tree1f9e637368a069518eaba7a918803e73c14c94d4 /scripts/gcc-plugin.sh
parentafs: Don't set PG_error on local EINTR or ENOMEM when filling a page (diff)
downloadlinux-6d06b0d25209c80e99c1e89700f1e09694a3766b.tar.xz
linux-6d06b0d25209c80e99c1e89700f1e09694a3766b.zip
afs: Fix page leak in afs_write_begin()
afs_write_begin() leaks a ref and a lock on a page if afs_fill_page() fails. Fix the leak by unlocking and releasing the page in the error path. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'scripts/gcc-plugin.sh')
0 files changed, 0 insertions, 0 deletions