summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-07-24 14:05:33 +0300
committerJan Kara <jack@suse.com>2015-07-27 14:30:45 +0200
commit926631c2012d22ab507ace95b3e5f5621f2c72b7 (patch)
tree593cd4eddb16e0526e14bf0a820be9dae6aeba60 /fs
parentdebeb29792f9bbb6b72ea2fc82088dc0fd9ec224 (diff)
ext4: memory leak on error in ext4_symlink()
We should release "sd" before returning. Fixes: 0fa12ad1b285 ('ext4: Handle error from dquot_initialize()') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jan Kara <jack@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index d3ff83742a33..9f61e7679a6d 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -3084,7 +3084,7 @@ static int ext4_symlink(struct inode *dir,
err = dquot_initialize(dir);
if (err)
- return err;
+ goto err_free_sd;
if ((disk_link.len > EXT4_N_BLOCKS * 4)) {
/*
office-3-4-2'>libreoffice-3-4-2 Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2014-02-05update translations for 4.1.5 rc3libreoffice-4-1-5Christian Lohmaier35-227/+194
2014-01-30update translations for 4.1.5 rc2Christian Lohmaier412-10537/+9859
2014-01-14Branch libreoffice-4-1-5Christian Lohmaier0-0/+0
2014-01-14update translations for 4.1.5 rc1Christian Lohmaier304-3158/+2960
2013-11-26update translations for 4.1.4 RC1Christian Lohmaier1483-22274/+69483
2013-11-12decimal comma for huAndras Timar1-1/+1
2013-11-05wrong titleAndras Timar1-2/+2
2013-11-04updated Slovenian translationMartin Srebotnjak28-131/+794
2013-10-08update translations for 4.1.3rc1cp-4.1-branch-pointcp-4.1-2cp-4.1-1Christian Lohmaier1199-16548/+252087
2013-09-02pocheck kills translation errorsAndras Timar125-5524/+437
2013-09-02update translations for LibreOffice 4.1.2 rc1Andras Timar292-3010/+3073
2013-08-28Resolves: rhbz#1000692 mistranslation in de if opening Format->AbsatzCaolán McNamara1-1/+1
2013-08-28translation updates and bugfixesAndras Timar882-3667/+2444
2013-08-26translation updates and bugfixesAndras Timar301-3317/+3002
2013-08-20last minute updates and pocheck fixes for 4.1.1 rc2Andras Timar117-1422/+992
2013-08-18update translations for LibreOffice 4.1.1 rc2Andras Timar946-25048/+20345
2013-08-06update translations for LibreOffice 4.1.1 rc1Andras Timar3266-50365/+422307
2013-07-25fdo#67093 Change traduction of Header in it to avoid conflict with HeadingArnaud Versini1-1/+1
2013-07-23fdo#67093 Change traduction of Title for some more languagesChristian Lohmaier13-13/+13
2013-07-20fdo#67093 Change traduction of Title in french to avoid conflict with HeadingArnaud Versini1-1/+1
2013-07-15forgot add theseAndras Timar2-0/+44
2013-07-15update translations for LibreOffice 4.1 rc3Andras Timar2846-53972/+61272
2013-07-03fdo#66007 - spurious & causing entity warning errorsChristian Lohmaier1-4/+4
2013-06-30update translations for LibreOffice 4.1 rc2Andras Timar8537-97910/+246464
2013-06-24parser error : EntityRef: expectingCaolán McNamara1-4/+4
2013-06-23Updated Slovenian translationAndras Timar22-65/+283
2013-06-21invalid xmlAndras Timar1-1/+1
2013-06-21update Sidama translationAndras Timar306-22257/+25925
2013-06-18buildfixAndras Timar1-1/+1
2013-06-18update translations for LibreOffice 4.1 rc1Andras Timar3938-72954/+79793
2013-06-15typo/help l10n extraction errorAndras Timar57-121/+121
2013-06-12fdo#65512 fix missing imagesAndras Timar342-973/+973
2013-06-12updated Slovenian translationAndras Timar32-289/+193
2013-06-12missing | cause Windows installer error 2870Andras Timar10-22/+22
2013-06-11fdo#65214 missing | cause Windows installer error 2870Andras Timar1-1/+1
2013-06-11fdo#65483 fix po filesAndras Timar614-139655/+6394
2013-06-05update translations for LibreOffice 4.1 beta2Andras Timar351-3667/+4053
2013-06-03update translations for LibreOffice 4.1 beta2Andras Timar