Changeset 16458 for titan/plugins/imdb
- Timestamp:
- 06/10/12 22:41:40 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/imdb/imdb.h
r16438 r16458 72 72 if(tmpstr != NULL) 73 73 { 74 imdb = (struct imdb*) malloc(sizeof(struct imdb));74 imdb = (struct imdb*)calloc(1, sizeof(struct imdb)); 75 75 if(imdb == NULL) 76 76 { … … 79 79 return NULL; 80 80 } 81 memset(imdb, 0, sizeof(struct imdb)); 81 82 82 imdb->id = string_resub("<a href=\"/title/tt","/",tmpstr); 83 83
Note: See TracChangeset
for help on using the changeset viewer.