[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
gramps
gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:49:35 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit f6782c87f0a72aa91bdca8b19b0f22db416973bc
Author: gramps <gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Oct 5 20:10:21 2001 +0000
Use kCFAllocatorNull for contents deallocator
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQString.mm b/WebCore/kwq/KWQString.mm
index ab7ce8d..2e4c8a6 100644
--- a/WebCore/kwq/KWQString.mm
+++ b/WebCore/kwq/KWQString.mm
@@ -411,7 +411,7 @@ int QString::find(const char *chs, int index, bool cs) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFRange r;
if (CFStringFindWithOptions(s, tmp,
@@ -472,7 +472,7 @@ int QString::findRev(const char *chs, int index) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFRange r;
// FIXME: is this the right way to specifiy a range for a
@@ -513,7 +513,7 @@ int QString::contains(const char *chs, bool cs) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFIndex pos = 0;
CFIndex len = CFStringGetLength(s);
@@ -933,7 +933,7 @@ QString &QString::setNum(int n)
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, buf, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFStringReplaceAll(s, tmp);
CFRelease(tmp);
@@ -953,7 +953,7 @@ QString &QString::sprintf(const char *format, ...)
}
if (s) {
CFStringRef f = CFStringCreateWithCStringNoCopy(kCFAllocatorDefault,
- format, kCFStringEncodingISOLatin1, kCFAllocatorDefault);
+ format, kCFStringEncodingISOLatin1, kCFAllocatorNull);
if (f) {
CFStringRef tmp = CFStringCreateWithFormatAndArguments(
kCFAllocatorDefault, NULL, f, args);
@@ -1222,7 +1222,7 @@ bool operator==(const QString &qs, const char *chs)
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
result = CFStringCompare(qs.s, tmp, 0) == kCFCompareEqualTo;
CFRelease(tmp);
diff --git a/WebCore/src/kwq/KWQString.mm b/WebCore/src/kwq/KWQString.mm
index ab7ce8d..2e4c8a6 100644
--- a/WebCore/src/kwq/KWQString.mm
+++ b/WebCore/src/kwq/KWQString.mm
@@ -411,7 +411,7 @@ int QString::find(const char *chs, int index, bool cs) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFRange r;
if (CFStringFindWithOptions(s, tmp,
@@ -472,7 +472,7 @@ int QString::findRev(const char *chs, int index) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFRange r;
// FIXME: is this the right way to specifiy a range for a
@@ -513,7 +513,7 @@ int QString::contains(const char *chs, bool cs) const
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFIndex pos = 0;
CFIndex len = CFStringGetLength(s);
@@ -933,7 +933,7 @@ QString &QString::setNum(int n)
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, buf, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
CFStringReplaceAll(s, tmp);
CFRelease(tmp);
@@ -953,7 +953,7 @@ QString &QString::sprintf(const char *format, ...)
}
if (s) {
CFStringRef f = CFStringCreateWithCStringNoCopy(kCFAllocatorDefault,
- format, kCFStringEncodingISOLatin1, kCFAllocatorDefault);
+ format, kCFStringEncodingISOLatin1, kCFAllocatorNull);
if (f) {
CFStringRef tmp = CFStringCreateWithFormatAndArguments(
kCFAllocatorDefault, NULL, f, args);
@@ -1222,7 +1222,7 @@ bool operator==(const QString &qs, const char *chs)
// FIXME: is ISO Latin-1 the correct encoding?
CFStringRef tmp = CFStringCreateWithCStringNoCopy(
kCFAllocatorDefault, chs, kCFStringEncodingISOLatin1,
- kCFAllocatorDefault);
+ kCFAllocatorNull);
if (tmp) {
result = CFStringCompare(qs.s, tmp, 0) == kCFCompareEqualTo;
CFRelease(tmp);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list