thorsson_cups 0.0.37 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/cups.c +1 -5
  2. metadata +1 -1
data/ext/cups.c CHANGED
@@ -192,11 +192,7 @@ static VALUE cups_show_dests(VALUE self)
192
192
  rb_ary_push(dest_list, destination); // Add this testination name to dest_list string
193
193
  }
194
194
 
195
- cupsFreeDests(num_dests, dests);
196
-
197
- if(dests != NULL)
198
- free(dests);
199
-
195
+ cupsFreeDests(num_dests, dests);
200
196
  return dest_list;
201
197
  }
202
198
 
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.37
4
+ version: 0.0.38
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: