Skip to content
Snippets Groups Projects
Commit a2acd7a4 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

possible memory leak fix

Rev: src/modules/Image/orient.c:1.10
parent d6ac73fb
No related branches found
No related tags found
No related merge requests found
/* $Id: orient.c,v 1.9 1998/04/20 18:46:52 grubba Exp $ */ /* $Id: orient.c,v 1.10 1998/04/20 19:51:56 mirar Exp $ */
/* /*
**! module Image **! module Image
**! note **! note
**! $Id: orient.c,v 1.9 1998/04/20 18:46:52 grubba Exp $ **! $Id: orient.c,v 1.10 1998/04/20 19:51:56 mirar Exp $
**! class image **! class image
*/ */
...@@ -257,14 +257,9 @@ CHRONO("begin hsv..."); ...@@ -257,14 +257,9 @@ CHRONO("begin hsv...");
CHRONO("end hsv..."); CHRONO("end hsv...");
THREADS_DISALLOW(); THREADS_DISALLOW();
/* FIXME: This looks like a ref-counting bug to me.
* /grubba 1998-04-20
*/
o[4]->refs++;
if (!w) if (!w)
{ {
o[4]->refs++;
pop_n_elems(5); pop_n_elems(5);
push_object(o[4]); push_object(o[4]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment