~ubuntu-branches/ubuntu/raring/trousers/raring-proposed

« back to all changes in this revision

Viewing changes to src/tcsd/tcsd_conf.c

  • Committer: Logan Rosen
  • Date: 2012-11-30 16:31:54 UTC
  • mfrom: (0.1.25 sid)
  • Revision ID: logatronico@gmail.com-20121130163154-jllqpry4lo24ol6p
* Merge from Debian unstable. Remaining changes:
  - debian/trousers.postinst: Reload udev rules to reload new users and
    groups.
* Dropped Ubuntu change in debian/trousers.prerm to make remove work,
  as Debian made a different one with the same goal that works as well.
* Imported Upstream version 0.3.10
* Update symbols file
* Force build of tools
* Fix regression introduced in previous patch, preventing removal
  (Closes: #680375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
                        new_class->classURI = malloc(new_class->classURISize);
108
108
                        if (new_class->classURI == NULL) {
109
109
                                LogError("malloc of %u bytes failed", new_class->classURISize);
 
110
                                free(new_class);
110
111
                                return TCSERR(TSS_E_OUTOFMEMORY);
111
112
                        }
112
113
                        memcpy(new_class->classURI, tcg_platform_specs[i].specURI,