thorsson_cups 0.0.40 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/cups.c +0 -9
  2. metadata +1 -1
data/ext/cups.c CHANGED
@@ -435,13 +435,6 @@ static VALUE cups_get_jobs(VALUE self, VALUE printer)
435
435
 
436
436
  // Free job array
437
437
  cupsFreeJobs(num_jobs, jobs);
438
-
439
- if(jobs != NULL)
440
- free(jobs);
441
- if(printer_arg != NULL)
442
- free(printer_arg);
443
-
444
- cupsFreeDests(num_jobs, jobs);
445
438
  return job_list;
446
439
  }
447
440
 
@@ -577,8 +570,6 @@ static VALUE cups_get_options(VALUE self, VALUE printer)
577
570
  rb_hash_aset(options_list, rb_str_new2(dest->options[i].name), rb_str_new2(dest->options[i].value));
578
571
  }
579
572
 
580
- cupsFreeDests(num_dests, dests);
581
-
582
573
  return options_list;
583
574
  }
584
575
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thorsson_cups
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: