Changeset 2137 for trunk/src


Ignore:
Timestamp:
Dec 25, 2008, 7:02:15 PM (17 years ago)
Author:
bird
Message:

rule.c: fixed crash in create_pattern_rule when commands is NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/rule.c

    r2056 r2137  
    493493    r->terminal = terminal;
    494494#ifdef CONFIG_WITH_MEMORY_OPTIMIZATIONS
    495   commands->refs = 1000;
     495  if (commands != NULL)
     496    commands->refs = 1000;
    496497#endif
    497498}
Note: See TracChangeset for help on using the changeset viewer.