https://bugzilla.redhat.com/show_bug.cgi?id=619122
Resolves: bug 619122
Bug description: fix coverify Defect Type: Resource leaks issues CID 11982.
description: The check_trivial_words() has been modified to check for NULL smods first before allocating smod to avoid resource leak.