Changeset 2103


Ignore:
Timestamp:
May 27, 2003 12:30:03 PM (13 years ago)
Author:
assefa
Message:

Call msFreeLabelCache instaed of loacl call for function
labelCacheObj_freeCache.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mapserver/mapscript/php3/mapscript_i.c

    r1988 r2103  
    88 *
    99 * $Log$
     10 * Revision 1.63  2003/05/27 19:30:03  assefa
     11 * Call msFreeLabelCache instaed of loacl call for function
     12 * labelCacheObj_freeCache.
     13 *
    1014 * Revision 1.62  2003/03/26 20:23:31  dan
    1115 * msLoadWKTProjectionString() has been renamed msOGCWKT2ProjectionObj()
     
    10811085 **********************************************************************/
    10821086void labelCacheObj_freeCache(labelCacheObj *self) {
    1083     int i;
    1084     for (i = 0; i < self->numlabels; i++) {
    1085         free(self->labels[i].string);
    1086         msFreeShape(self->labels[i].poly);
    1087     }   
    1088     self->numlabels = 0;
    1089     for (i = 0; i < self->nummarkers; i++) {
    1090         msFreeShape(self->markers[i].poly);
    1091     }
    1092     self->nummarkers = 0;
     1087  msFreeLabelCache(self);   
     1088 
    10931089  }
    10941090
Note: See TracChangeset for help on using the changeset viewer.