Permalink
Browse files

Merge pull request #2433 from tru/zeroconf_memleak

[OSX] Fix minor memory leak in ZeroconfOSX.cpp
  • Loading branch information...
2 parents c5609c0 + 2083a57 commit f4b2c483832577fa181a13844316b39ecd3ea344 @Memphiz Memphiz committed Mar 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/network/osx/ZeroconfOSX.cpp
@@ -95,6 +95,8 @@ bool CZeroconfOSX::doPublishService(const std::string& fcr_identifier,
);
CFDictionaryAddValue(txtDict,key, value);
+ CFRelease(key);
+ CFRelease(value);
}
//add txt records to service

0 comments on commit f4b2c48

Please sign in to comment.