Iker Perez de Albeniz

Show:

What's happening?

  • Followup: RE: Memory Problems

    the leak still happends ( with 0.9 the memory leak is a bit biger) Regards.

    2009-09-28 08:30:09 UTC in VMime

  • Followup: RE: Memory Problems

    sorry the problem wasn not on bufferedStreamCopy().... it was on msg->parse(data).. once the message is parsed an trated a memory leak is present.. vmime::message has no destructor or similar...??.

    2009-09-14 14:22:54 UTC in VMime

  • Followup: RE: Memory Problems

    I have found an other memory leak on **bufferedStreamCopy()**. I have used like this.. file.open(filepath.c_str(),std::ios::in | std::ios::binary); vmime::utility::inputStreamAdapter is(file); vmime::string data; vmime::utility::outputStreamStringAdapter os(data); vmime::utility::bufferedStreamCopy(is,os); // Actually parse the message vmime::ref...

    2009-09-14 10:46:20 UTC in VMime

  • Followup: RE: Memory Problems

    I have find one of the memory leaks on: Subject = hdr->Subject()->getValue().dynamicCast <vmime::text>()->getConvertedText(ch); i think that the problem is on ->getConvertedText(ch); because i do: SubjectEncoding = hdr->Subject()->getValue().dynamicCast <vmime::text>()->getWordAt(0)->getCharset().getName(); and here the is no memory leak...

    2009-09-14 09:59:00 UTC in VMime

  • Memory Problems

    Ia have some BIG memory leaks on my program and using valgrind i have some vmime related messages. Aparently the part of code that looses more memory is this: Attachments::Attachments(std::string filepath, std::vector<std::string> conf){ configuration = conf; std::ifstream file; file.open(filepath.c_str(),std::ios::in | std::ios::binary);...

    2009-08-04 10:59:54 UTC in VMime

  • Followup: RE: get text from the mimes

    i have tested this metthod: https://sourceforge.net/forum/message.php?msg_id=7419058 and with ->getText() i have no problem but with ->getPlaintext() no text is printed..

    2009-06-16 13:40:41 UTC in VMime

  • get text from the mimes

    Hi, I am using the messageParser example of the Book (5.1.2): and when i get the textPart an html text part i have a doubt... in de code apears like this.. tp->getPlanText() tp is a htmltextPart an in the class reference aperas that getPlaintext is a const ref< const contentHandler > i have tried to cast like this tp->getPlaintext().dynamicCast...

    2009-06-16 07:49:21 UTC in VMime

  • Followup: RE: Subject encoding...

    thanks!

    2009-06-16 07:43:53 UTC in VMime

  • Subject encoding...

    Hi, i use this function to get the subject in UTF-8 vmime::charset ch(vmime::charsets::UTF-8); hdr->Subject()->getValue().dynamicCast <vmime::text>()->getConvertedtext(ch); but i want to know the encoding of the original string. regards.

    2009-06-05 06:19:09 UTC in VMime

  • Subject encoding..

    Hi, i use this function to get the subject in UTF-8 vmime::charset ch(vmime::charsets::UTF-8); hdr->Subject()->getValue().dynamicCast <vmime::text>()->getConvertedtext(ch); but i want to know the encoding of the original string. regards.

    2009-06-05 06:11:05 UTC in VMime

About Me

  • 2005-04-13 (5 years ago)
  • 1258886
  • albenix (My Site)
  • Iker Perez de Albeniz

Send me a message