mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Fix the locking of the mem_chunks list. (#127096, Balazs Scheidler)
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de> * glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the mem_chunks list. (#127096, Balazs Scheidler)
This commit is contained in:
parent
421f6d3b18
commit
53e132ed39
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 21 22:42:42 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmem.c (g_mem_chunk_destroy): Fix the locking of the
|
||||||
|
mem_chunks list. (#127096, Balazs Scheidler)
|
||||||
|
|
||||||
2003-12-14 Hans Breuer <hans@breuer.org>
|
2003-12-14 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
* glib/gfileutils.c : make g_file_test(,G_FILE_TEST_IS_EXECUTABLE)
|
||||||
|
@ -717,12 +717,12 @@ g_mem_chunk_destroy (GMemChunk *mem_chunk)
|
|||||||
g_free (temp_area);
|
g_free (temp_area);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_mutex_lock (mem_chunks_lock);
|
||||||
if (mem_chunk->next)
|
if (mem_chunk->next)
|
||||||
mem_chunk->next->prev = mem_chunk->prev;
|
mem_chunk->next->prev = mem_chunk->prev;
|
||||||
if (mem_chunk->prev)
|
if (mem_chunk->prev)
|
||||||
mem_chunk->prev->next = mem_chunk->next;
|
mem_chunk->prev->next = mem_chunk->next;
|
||||||
|
|
||||||
g_mutex_lock (mem_chunks_lock);
|
|
||||||
if (mem_chunk == mem_chunks)
|
if (mem_chunk == mem_chunks)
|
||||||
mem_chunks = mem_chunks->next;
|
mem_chunks = mem_chunks->next;
|
||||||
g_mutex_unlock (mem_chunks_lock);
|
g_mutex_unlock (mem_chunks_lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user