summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-01-21 05:32:39 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-01-21 05:32:39 +0000
commit22e40d2cf71816909b46fa698bdd60597607470f (patch)
tree6b052961d67d1acc23ba5ea87d8b051d19a29b99
parentc4120e45934e7ebafc2211c367f152fae9786dad (diff)
matrixsparse: fix pointer after it's freed.
SVN revision: 67415
-rw-r--r--legacy/eina/src/lib/eina_matrixsparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/eina/src/lib/eina_matrixsparse.c b/legacy/eina/src/lib/eina_matrixsparse.c
index 3ac0439e01..59cd66bac0 100644
--- a/legacy/eina/src/lib/eina_matrixsparse.c
+++ b/legacy/eina/src/lib/eina_matrixsparse.c
@@ -1078,6 +1078,8 @@ eina_matrixsparse_size_set(Eina_Matrixsparse *m,
1078 1078
1079 r = r->next; 1079 r = r->next;
1080 _eina_matrixsparse_row_free(r_aux, free_func, user_data); 1080 _eina_matrixsparse_row_free(r_aux, free_func, user_data);
1081 if ((update_last_used_row) && (m->last_used == r_aux))
1082 m->last_used = r;
1081 } 1083 }
1082 else 1084 else
1083 { 1085 {