Unified · Split
| @@ -256,7 +256,7 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent) · 255 unmodified lines | ||
| 256 | 256 | if (IS_ERR(root)) { |
| 257 | 257 | printk(KERN_ERR "qnx4: get inode failed\n"); |
| 258 | 258 | ret = PTR_ERR(root); |
| 259 | − goto out; | |
| 259 | + goto outb; | |
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | ret = -ENOMEM; |
| @@ -269,6 +269,8 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent) · 6 unmodified lines | ||
| 269 | 269 | |
| 270 | 270 | outi: |
| 271 | 271 | iput(root); |
| 272 | + outb: | |
| 273 | + kfree(qs->BitMap); | |
| 272 | 274 | out: |
| 273 | 275 | brelse(bh); |
| 274 | 276 | outnobh: |