Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302280
b: refs/heads/master
c: e81dba8
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed May 14, 2012
1 parent 73f5afe commit e319e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41097afd64108348a935c658c78662bce1ea6355
refs/heads/master: e81dba85c6388dfabcb76cbc2b8bd02836a53ae5
2 changes: 2 additions & 0 deletions trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3193,6 +3193,8 @@ regulator_register(const struct regulator_desc *regulator_desc,
unset_regulator_supplies(rdev);

scrub:
if (rdev->supply)
regulator_put(rdev->supply);
kfree(rdev->constraints);
device_unregister(&rdev->dev);
/* device core frees rdev */
Expand Down

0 comments on commit e319e5b

Please sign in to comment.