diff options
author | Rob Clark <[email protected]> | 2016-07-02 08:02:51 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-06 10:17:30 -0400 |
commit | 23dd9eaa94e97450582059763fcb479e1e8fe818 (patch) | |
tree | ea64a9b14fa27c198faebb541b698d5f6dcb669b /src/mesa/math | |
parent | 09fe35b450ed15b3cfc956304e96723b4c600ad8 (diff) |
list: fix list_replace() for empty lists
Before, it would happily copy list_head next/prev (ie. pointer to the
*from* list_head), leaving things in a confused state and causing much
mayhem.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/math')
0 files changed, 0 insertions, 0 deletions