Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings: