Note the performance enhancement in sk_free

This mainly affected armv7 devices with some larger
regressions around 15%. The other platforms where much smaller
at around 3%.

Change-Id: Iee9ac7b2f707035f45cdc581fc45a265c7ecf16d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/588578
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/ports/SkMemory_malloc.cpp b/src/ports/SkMemory_malloc.cpp
index 49dafdb..6a1c3a9 100644
--- a/src/ports/SkMemory_malloc.cpp
+++ b/src/ports/SkMemory_malloc.cpp
@@ -69,7 +69,9 @@
 }
 
 void sk_free(void* p) {
-    if (p) {
+    // The guard here produces a performance improvement across many tests, and many platforms.
+    // Removing the check was tried in skia cl 588037.
+    if (p != nullptr) {
         free(p);
     }
 }