~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to libgeis/backend/grail/geis_grail_token.c

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Stephen M. Webb, Ubuntu daily release
  • Date: 2013-04-01 02:01:56 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20130401020156-0y4eml75lx4sam75
Tags: 2.2.15daily13.04.01-0ubuntu1
[ Stephen M. Webb ]
* evince crashed with SIGSEGV in geis_filter_delete() (LP: #1152411)

[ Ubuntu daily release ]
* Automatic snapshot from revision 307

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
static GeisBackendToken
82
82
_geis_grail_token_clone(GeisBackendToken original)
83
83
{
84
 
  return original;
 
84
  GeisGrailToken new_token = calloc(1, sizeof(struct GeisGrailToken));
 
85
  memcpy(new_token,
 
86
         _geis_grail_token_from_geis_token(original),
 
87
         sizeof(struct GeisGrailToken));
 
88
  return (GeisBackendToken)new_token;
85
89
}
86
90
 
87
91