]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: 279097
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 11:01:58 +0000 (11:01 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 11:01:58 +0000 (11:01 +0000)
commitd7766d7f2e0ef9bcaa9d9141a9977ba5fdba6858
treec26481efa6e987e824b561f26a55fe88c4d4055f
parentb5892fecd2600f32dcee928e38ad5cfe15254064
MFC: 279097

sfxge: check allocations are non-NULL before freeing them

Caught when efx_filter_init() failed and called efx_filter_fini() in the
teardown path.

Submitted by:   Andrew Lee <alee at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/10@280561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/efx_filter.c