~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-187

« back to all changes in this revision

Viewing changes to plugin/pbms/src/udf_ms.cc

  • Committer: Mark Atwood
  • Date: 2011-06-30 07:03:08 UTC
  • mto: This revision was merged to the branch mainline in revision 2358.
  • Revision ID: me@mark.atwood.name-20110630070308-4380q6dqkkqv92w2
fix cppcheck redundantIfDelete0 warnings.  It is safe to deallocate a NULL pointer

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
 
355
355
void pbms_update_blob_trig_deinit(UDF_INIT *initid)
356
356
{
357
 
        if (initid->ptr)
358
 
                free(initid->ptr);
 
357
        free(initid->ptr);
359
358
}
360
359
 
361
360
char *pbms_update_blob_trig(UDF_INIT *initid, UDF_ARGS *args,