Fix crash when no actions are specified.
authorJustin Pettit <jpettit@nicira.com>
Sat, 13 Sep 2008 01:47:29 +0000 (18:47 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 13 Sep 2008 01:47:29 +0000 (18:47 -0700)
commit6114ad11bbd22c709fc7588d1f2b82f73b5a6923
tree45f045a521b9e23c1459311d8e8dfa649edbdb73
parentc2eb869bdb270565b2bb3e368cc61560385d1315
Fix crash when no actions are specified.

Actions are allocated as a pointer to an array of actions in flows.  When
flows are freed, the code was always freeing the action pointer.
Under some circumstances the pointer may not be set.
datapath/flow.c
switch/switch-flow.c