Bug fix for the add_struct() method. The input structure container was being overwritten.
Authored by: bugman 2008-10-01
Parent: [r7487]
Child: [r7489]