Added example profrc config

issue #373
Assign GPOINTER_TO_INT value before freeing

fixes #375
Merge branch 'master' into winbuffers
Merge remote-tracking branch 'origin/winbuffers' into winbuffers