Skip to content

Commit

Permalink
Fix leak in plink_frame_tx()
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Cardona <[email protected]>
  • Loading branch information
Javier Cardona committed Apr 16, 2013
1 parent fe449c7 commit e842844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ampe.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ static int plink_frame_tx(struct candidate *cand, enum plink_action_code action,
ie_len += 2; /* reason code */
break;
default:
free(buf);
return -EINVAL;
}

Expand Down

0 comments on commit e842844

Please sign in to comment.