bugThe FreeType Project - Bugs: bug #24297, ft_smalloc / ft_free missmatch

 
 

bug #24297: ft_smalloc / ft_free missmatch

Submitted by:  None
Submitted on:  Thu 18 Sep 2008 10:45:28 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.8

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 18 Sep 2008 11:21:06 AM UTC, comment #1:

Fixed, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Thu 18 Sep 2008 10:45:28 AM UTC, original submission:

Using freetype-2.3.7.

In ftsystem.c:
FT_New_Memory() allocates memory using ft_smalloc() but FT_Done_Memory() frees the same memory using ft_free() (redirecting from itself). These two functions potentially belongs to different memory pools (they do for me).

Suggestion: FT_Done_Memory() should use ft_sfree() instead.

OK, I know, if I'm hacking ftsystem.c anyway I could change this any way I like but there was some initial confusion...

Regards,
Mats

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Sep 2008 11:21:06 AM UTCwlAssigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.8
    Thu 18 Sep 2008 11:21:05 AM UTCwlStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1