Ignore:
Timestamp:
Apr 18, 2011, 3:03:48 PM (11 years ago)
Author:
Sam Hocevar
Message:

cache: fix a crash caused by empty SFX objects being reused for other
purposes but still being deleted later on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/seq.cpp

    r494 r503  
    4545  seq=(int *) malloc(sizeof(int)*total);
    4646  if (item_type(pict_list)==L_STRING)
    47     seq[0]=cache.reg_object(filename,pict_list,SPEC_CHARACTER2,1);
     47    seq[0]=cache.reg_object(filename,(LObject *)pict_list,SPEC_CHARACTER2,1);
    4848  else
    4949  {
Note: See TracChangeset for help on using the changeset viewer.