Changeset 15553


Ignore:
Timestamp:
05/08/12 00:16:35 (11 years ago)
Author:
nit
Message:

fix memleak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tmdb/tmdb.h

    r15397 r15553  
    5454//http://api.themoviedb.org/2.1/Movie.search/de/xml/7bcd34bb47bc65d20a49b6b446a32866/Transformers
    5555        apikey = ostrcat(apikey, "7bcd34bb47bc65d20a49b6b446a32866", 1, 0);
    56         tmpsearch = ostrcat("2.1/Movie.search/de/xml/", apikey, 0, 0);
     56        tmpsearch = ostrcat("2.1/Movie.search/de/xml/", apikey, 0, 1);
    5757        tmpsearch = ostrcat(tmpsearch, "/", 1, 0);
    58         tmpsearch = ostrcat(tmpsearch, title, 0, 0);
     58        tmpsearch = ostrcat(tmpsearch, title, 1, 0);
    5959
    6060        tmpsearch = stringreplacechar(tmpsearch, ' ', '+');
Note: See TracChangeset for help on using the changeset viewer.