Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed memory leak

  • Loading branch information...
commit d19a54e0089e72e2e83b1ce2a509c031ec9a4d1c 1 parent 02243cd
@dinhviethoa dinhviethoa authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/data-types/mailstream_cfstream.c
View
1  src/data-types/mailstream_cfstream.c
@@ -416,6 +416,7 @@ mailstream_low * mailstream_low_cfstream_open_voip(const char * hostname, int16_
hostString = CFStringCreateWithCString(NULL, hostname, kCFStringEncodingUTF8);
CFStreamCreatePairWithSocketToHost(NULL, hostString, port, &readStream, &writeStream);
+ CFRelease(hostString);
#if TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR
if (voip_enabled) {

0 comments on commit d19a54e

Please sign in to comment.
Something went wrong with that request. Please try again.