CID:1294501: possible null deref

This commit is contained in:
Michael Jerris
2015-04-22 10:54:44 -05:00
parent 9a4ad91ce4
commit bb6385d2d4
+3 -1
View File
@@ -1608,7 +1608,9 @@ SWITCH_DECLARE(switch_status_t) switch_img_scale(switch_image_t *src, switch_ima
return SWITCH_STATUS_FALSE;
}
*destP = dest;
if (destP) {
*destP = dest;
}
return SWITCH_STATUS_SUCCESS;
}