commit | 331daa196c6372b73970c7d47c6fcf1d17e3ff51 | [log] [tgz] |
---|---|---|
author | John Ogness <john.ogness@linutronix.de> | Fri Dec 11 09:47:28 2009 +0100 |
committer | Ben Warren <biggerbadderben@gmail.com> | Sun Dec 13 21:55:15 2009 -0800 |
tree | fbd645f1397628a3b03d6d06937ad3c7fcda5f04 | |
parent | 1140ea55f03fd6980f8c64d303eef61f0f634af0 [diff] |
fec_mxc: incomplete error handling fec_init() will only allocate fec->base_ptr if it is non-NULL. But the cleanup routine on error will free the pointer without setting it to NULL. This means that a later call to fec_init() would result in using an invalid pointer. Signed-off-by: John Ogness <john.ogness@linutronix.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>