* mu-query: fix leak in date parsing

This commit is contained in:
djcb 2012-01-12 00:23:04 +02:00
parent 58db0c76a6
commit f699f2e73b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ private:
str = mu_date_interpret_s (s.c_str(), is_begin ? TRUE: FALSE);
str = mu_date_complete_s (str, is_begin ? TRUE: FALSE);
t = mu_date_str_to_time_t (str, TRUE /*local*/);
str = mu_date_time_t_to_str (t, FALSE /*UTC*/);
str = mu_date_time_t_to_str_s (t, FALSE /*UTC*/);
return s = std::string(str);
}