Skip to content

Commit

Permalink
Fix small memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 2, 2011
1 parent 54a464b commit 49e1cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/gc_gms.c
Expand Up @@ -700,7 +700,7 @@ Parrot_gc_gms_init(PARROT_INTERP)
sizeof (string_alloc_struct));

/* Allocate list for gray objects */
self->work_list = Parrot_pa_new(interp);
self->work_list = NULL;
self->dirty_list = Parrot_pa_new(interp);

for (i = 0; i < MAX_GENERATIONS; i++) {
Expand Down

0 comments on commit 49e1cb2

Please sign in to comment.