Small change that fixed a segfault.

Machine architecture:

    $ uname -a
    Linux test2.local 2.6.32-220.4.1.el6.x86_64 #1 SMP Tue Jan 24 02:13:44 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux