]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: 277892
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 10:20:42 +0000 (10:20 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Mar 2015 10:20:42 +0000 (10:20 +0000)
commit50380c4ac5615d44e3463d5b9b58c642ca594b6a
treec67269bb7106ed30e4fc91d581617fe081a0a5b9
parentd4f2d6d2cb1e3f23188190bbba61c790a88b3d25
MFC: 277892

sfxge: Pass correct address to free allocated memory in the case of load error

Most likely is was just memory leak on the error handling path since
typically efsys_mem_t is filled in by zeros on allocation.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

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