diff options
Diffstat (limited to 'egg/egg-secure-memory.c')
-rw-r--r-- | egg/egg-secure-memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/egg/egg-secure-memory.c b/egg/egg-secure-memory.c index a2153645..ba0cf5ce 100644 --- a/egg/egg-secure-memory.c +++ b/egg/egg-secure-memory.c @@ -341,7 +341,7 @@ sec_insert_cell_ring (Cell **ring, Cell *cell) /* Insert back into the mix of available memory */ if (*ring) { cell->next = (*ring)->next; - cell->prev = (*ring)->prev; + cell->prev = *ring; cell->next->prev = cell; cell->prev->next = cell; } else { |